As soon as the US agreed to dismantle the missiles in Turkey, Kruschev withdrew the Russian missiles and warplanes from Cuba. Problem solved, a quid-pro-quo that saved the world from nuclear annihilation.
Read more at: https://tribune.net.ph/2024/06/28/what-triggered-the-failed-cuban-crisis-2
Source