The Cuban Missile Crisis pushed two superpowers to the edge of nuclear war before back-channel diplomacy pulled them back.