What could it be? Alternator, belt, cables, voltage regulator or some censor issue?
Rob in Chicago

With the engine running, measure charging voltage; it should be about 14 volts. If it is low, suspect the alternator. Also confirm whether the car died while driving or only failed to restart, and inspect the battery terminals and cables for poor connections.
A 2001 VW Jetta GLX with 88,000 miles went dead again shortly after a dealer replaced an incorrect, failed battery. It later restarted after sitting, but a buzz and alternator warning appeared about every five minutes, and a dead battery produced only a click. The expert advised checking running voltage near 14 volts and treating a low reading as an alternator problem, while also clarifying the failure mode and inspecting battery terminals. Another reply suggested checking cable continuity and replacing damaged terminals.