That's how diesel works, off its own compression.
The trucks were equipped with some type of an emergency throw should that situation ever arise. We never had to use it in my time there.
Since at least the ~2000 era, a VW diesel will run with no alternator (for a while) but not without a battery.