Does it do the same thing when you release the clutch/brake. I am thinking more of a safety switch issue normally the seat switch thinking nobody is in the seat so the safety system shuts down the engine.
Good point, I did some more tests.
Safety switch in seat permanently engaged so that's not an issue. Brake is locked to start. Engine starts runs fine with or without brake. I found out even when PTO not hooked up electrically, engine STILL shuts off when PTO switch is turned on. When engine not running with ignition key ON ,pto hooked up electrically it engages! and shows 12.86 volts.
??? But shuts engine off electrically when running, so it seems.