But during the cold war he was the Zelig of Washington 's global counterinsurgency effort , squelching a rebellion in the Philippines , plotting the overthrow of Fidel Castro in Cuba and blocking a potential Communist takeover of Vietnam in the first days of America 's involvement .