Bay of Pigs, he left brave men to die, their families arrested. Then the death of MM, the BBC covered it pretty good.
The CIA -cynically- put them on the beach to die. They thought they could force JFK to involve US forces though he clearly told them he would not before it began. The CIA decided it set national policy.
They found out different.
Then they murdered him over it.
Presidents in general do not control CIA ops.
Bay of Pigs was a loose cannon operation by CIA trying to save face, and they blew it.