cub cadet m48 zero turn stopes running

My cc has a kawasaki 19 hp motor #fh601v I am abel cut for about one hour or so then it just stops like it runs out of fuel. It will restart but right a way but will only run for a couple of min . Their is nothing in fuel filter, or fuel pump but fuel. both plugs look good . my guess is electrical but not sure what to try

Check the wiring to the safety interlocks. There are interlocks under the seat and on the deck to shut off the engine if you attempt to get out of the seat with the blades engaged. I had a wire on one of them rubbed through. It would short the ignition system and shut off the engine. Some electrical tape solved it quickly.

do you have an automatic choke. my honda mower had the same symptoms. the spring that regulates the choke had slipped out of the retaining eye. It would start, as soon as it warmed up it would die, and would not start again until it cooled down. I found the spring on the retainer but not in the eye. 15min fix