The US invested in an airborne command center so that even in the event of a catastrophic sneak attack someone would still be alive to order a retaliation strike.
A program for a replacement is in-progress:
* https://en.wikipedia.org/wiki/Survivable_Airborne_Operations...
Russia also has an airborne command plane: