They have a low oil sensor that can shut it down. These have been known to shut down intermittently. Cheap to replace.
They also shut down if the voltage is too high or low. If the carb is dirty and it cant make the HP to maintain voltage it will shut down.
I had one that would shut down while driving if I hit a bump or made a hard right turn. Turns out it had a loose carb nut.
Yours also has an electric fuel pump. They fail too.
My Kharma ran over my Dogma.