What did JFK do to prevent World War 3?

Naval blockade preventing the Soviet Union from placing nuclear warheads in Cuba, just 90 miles from US soil.