As we speak, there are submarines from multiple countries lying in wait with enough nukes to take out most of humanity; they are (were?) instructed to launch if central command is taken out, like a world-ending dead man's switch. These go on 3-6 month missions, their only limit being food for the crew, and they will survive all out nuclear war just to pop up and finish the job if needs be.