After much deliberation between the Soviet Union and Kennedy's cabinet, Kennedy secretly agreed to remove all missiles set in Turkey on the border of the Soviet Union in exchange for Khrushchev removing all missiles in Cuba.
At 9 a.m., on October 28th, a new message from Khrushchev was broadcast on Radio Moscow. Khrushchev stated that, "the Soviet government, in addition to previously issued instructions on the cessation of further work at the building sites for the weapons, has issued a new order on the dismantling of the weapons which you describe as 'offensive' and their crating and return to the Soviet Union."
Kennedy immediately responded, issuing a statement calling the letter "an important and constructive contribution to peace". He continued this with a formal letter: "I consider my letter to you of October twenty-seventh and your reply of today as firm undertakings on the part of both our governments which should be promptly carried out... The U.S. will make a statement in the framework of the Security Council in reference to Cuba as follows: it will declare that the United States of America will respect the inviolability of Cuban borders, its sovereignty, that it take the pledge not to interfere in internal affairs, not to intrude themselves and not to permit our territory to be used as a bridgehead for the invasion of Cuba, and will restrain those who would plan to carry an aggression against Cuba, either from U.S. territory or from the territory of other countries neighbouring to Cuba."
The practical effect of this Kennedy-Khrushchev Pact was that it effectively strengthened Castro's position in Cuba in that he would not be invaded by the United States. It is possible that Khrushchev only placed the missiles in Cuba to get Kennedy to remove the missiles from Turkey and that the Soviets had no intention of resorting to nuclear war if they were out-gunned by the Americans. However, because the withdrawals from Turkey were not made public at the time, Khrushchev appeared to have lost the conflict and become weakened. The perception was that Kennedy had won the contest between the superpowers and Khrushchev had been humiliated. However, this is not entirely the case as both Kennedy and Khrushchev took every step to avoid full conflict despite the pressures of their governments. Khrushchev held power for another two years.