Check timing belt
The reason your 2001 Hyundai Sonata lost all power while you were driving and stalled and won't start again is either the battery or the alternator. If you have no power you most likely have an alternator problem.
A faulty alternator will cause those symptoms. You might want to get t checked out.
Check for loose or corroded battery cables Check for a loose ground cable
There are many reasons your check engine light could come on. If your motor died while driving you should check the rank shaft sensor module, alternator and catalytic converter.
Replace the ignition coil.
Died while driving? Alternator
if it won't start up again chances are it's probably your fuel pump
Stalling while driving may be caused by a collapsing or kinked neoprene fuel line.
The reason your 2001 Hyundai Sonata lost all power while you were driving and stalled and won't start again is either the battery or the alternator. If you have no power you most likely have an alternator problem.
Blowen motor
A faulty alternator will cause those symptoms. You might want to get t checked out.
To move air, that is what it does.
Maybe its your motor mounts.
Have someone check your fuel pump pressure,if you lose fuel pressure while driving,and then it comes back that would explain why it seems to start by itself.
probably it had no gas or it was just to old
Check your motor mounts.
If you lost power while driving and it did not start again, it could be an alternator issue. Double check the battery just to make certain it isn't an issue with the cable connectors too.