You want to read Grayson Lynch’s, “Decision for Disaster, Betrayal at the Bay of Pigs.” Lynch was one of the CIA agents on the ground.
This was a re-do of Ike’s successful operation to keep the communists out of Guatemala in 1954. Kennedy cancelled most of the air support, changed the landing at Cochinos Bay, then called off any US naval support.
AND sent the ships home with re-supply of logistics and AMMO..
Kennedy should have been HUNG!... with prejudice..