I'm not familiar with that model but if it is like most newer tractors it might have safety switches for the PTO(s), the brake and the seat and one that detects that the transmission is in neutral if it has a manual transmission. Most will not try to start if the PTO is engaged or if the brake is off or if there is no weight in the seat or if the transmission isn't in neutral, but most of those wouldn't shut the tractor off after it was already running. Did you hit a bump right when it shut down on you" That might have shifted your weight on the seat and cause the seat switch to shift out of position or to fail, or the bump might have caused some other electrical connection to become disconnected.