I was a a red light for a few minutes and the engine suddenly shut off while my foot was still on the brakes. Check engine light, battery light, oil light all turned on when the engine stopped. I turned the car off and restarted the engine and it fired up normally and all the warning lights went off.

When I got home I waited for around five minutes to see if it would happen again and it didn’t.

Hyundai sonata 2017. Automatic transmission. Does not have automatic shut off. Temperature was normal, wasn’t too hot or cold.

Should I be concerned?