Cuban Missile Crisis
The United Stated had figured out that the USSR had been testing and building missiles in Cuba. This was a huge surprise to the US.
Above are some of the missiles that were being built in Cuba.
JFK decided to put a blockade around Cuba so the USSR would not find out about what was going on. If they did, they could have gotten the wrong impression, and it could start a nuclear war.