As above ^^
Happened to me once few months back, quick key off and start up again will temporary fix it but luckily mine only happened once and the EML light stayed there. Plugged in an OBD reader and the code pointed it to throttle body sensor. I did the pedal dance to reset my ECU and throttle position. Since then, this never happens again.
I would strongly suggest that you check the fault code first before resetting your ECU.