Follow the above instructions, pull the starter & have tested, rust & crust will be the culprit. When I read the initial post I understood it as when the master battery switch is turned off it shuts everything down, engine included if I misunderstood then there could but unlikely be an ignition switch sticking.