Old computers not only used to have real, hard cut-off power switches, but also used to detect when they were used, by monitoring the voltage level, and spend its last remaining milliseconds of life on saving all registers and related information to persistent storage. This way, when the computer was turned on again, they could resume running exactly where they were before being turned off.
The PSU still outputs a Power Good signal, though I don't know if it actually goes false before the rails fall out of regulation. Easy enough to check with a 'scope, I guess.
I don't think they did that. They maybe tried to park the hard drive heads, back when that mattered. Saving registers isn't much use without the rest of RAM.