Sounds like the treadle switch for reverse is activated. Put a little pressure on the treadle in the forward direction, or put the key switch in reverse safety bypass (one notch back towards OFF after starting. I had to tweak the switch after a large stick went between the deck and frame on my YTH22V46. My PTO is mechanical, but same principle operating design. I had to replace the treadle switch on my machine, but the problem was mitigated by putting the key switch in Reverse Safety bypass until I got the new switch. It only gave me trouble with the PTO engaged, meaning it thought I was reversing with the blade engaged. But if the machine you’re working on dies without the PTO, then the seat switch is about the only thing that can cause it. I replaced my seat and had a bit of trouble with the seat switch. The switch was fine, but the new seat was considerably harder and wasn’t activating the switch fully. Same symptom you describe, but intermittent and usually happened when I was bouncing on rough terrain. I had to tweak the switch mounting quite a bit to make it work correctly simply because the seat was harder and the switch was pushing out of the seat shell. It’s a pretty cheesy design for the seat switch and has very tight tolerance to operate the switch. Try the bypass to check the brake release and see what happens. While it’s unplugged, put your meter on the switch to see if it opens when you get on the seat. The one that closes is for the PTO safety. The one that opens is for the travel/transmission safety. Either circuit shuts the engine down by grounding the primary of the ignition coil, but on also requires the PTO to be engaged. The reverse safety only works when the PTO is engaged. The treadle switch is byassed when the PTO is not engaged, but the parking brake and seat switch are not.