There is little doubt that President JFK, and brother RFK, were dreadnought in their intent to liberate Cuba from communism and Castro. Indeed, so much so that the Kennedy brothers abided by a few assassination attempts of Fidel.
To which Castro publicly responded in September of 1963 that assassinations could go both ways. Two months after Castro's not-so-veiled threat, JFK was dead. Castro's G2 had deeply penetrated Cuban exile groups, and thus parts of US intel services.
See JFK's speech to the Orange Bowl Miami Dec. 29 1962, if you have any doubts about JFK felt about Cuba:
https://www.youtube.com/watch?v=PxVl0x49zwAJFK in his own words in Miami, and draw your own conclusions. JFK remains the best public speaker of the postwar era, and this presentation, to a packed Orange Bowl, is another gem.
In one of the more curious twists in history, the garish President Donald Trump, a far different character from JFK, may finally execute on JFK's dream of a Free Cuba. Secy of State Marco Rubio, a Cubano who speaks flawless Spanish, is apparently in the lead.
May it be so. The communist government in Havana is the usual thug-state excrement:
https://www.hrw.org/world-report/2026/country-chapters/cubaTrump has but few redeeming features, but he seems willing to take on ghouls in Havana, Caracas and Tehran.
I think JFK, in this regard, would have done the same, although likely much more smoothly.