You have a sensor that is cutting off the engine from a fault it is detecting. Oil , temperature, or hydraulic? Look for condition that will give warning. low oil, etc.
!! Sorry, not hands one. Start with unplugging one at a time, stat with oil pressure.
I see question still open. Did you find problem?