Is this while you're on the road, or while you're sitting still?
It sounds as if the switch that operates the generator slide may be bad, perhaps shorting out on the "command" to go out. Will it come back in when you operate the switch, or is that also not right?