I have a 2018 Yanmar SA424 3 cyc with hydrostatic transmission that starts right up and runs for a while (30-40 mins) and then just shuts off like it ran out of fuel. It will restart immediately with no issue and run at idle, revs up no issue, but as soon as I try to go (forward or reverse) it shuts off immediately again. Will restart over and over, but shuts off when I try to move. I thought it was fuel related, but yesterday I put fresh fuel in and cleaned the fuel/water separator. It started right up and ran for about 40 minutes before it suddenly shut off again with the same results as above. After about an hour of letting it sit I tried to move the tractor and it started right up and ran with no issues so I parked it before it quit on me again. Before I dig into the fuel system I’m wondering if there’s a safety device that’s shutting it down or an electrical component that's getting hot and shutting it down? It just seems weird that it'll start right back up and runs for as long as I let it as long as I don't try to go forward or reverse. All fluids are full, engine temps is normal, just put fresh fuel in. Any assistance is much appreciated!