Phineas and Ferb Season 3 Episode 55
The Flynn-Fletchers are off on an African safari, leaving Perry at home to deal with Doofenshmirtz and his most evil plot yet: to take over the O.W.C.A. But when Doofenshmirtz accidentally zaps Carl the intern with his Ultimate-Evil-Inator ray, Carl takes over the O.W.C.A. (Organization Without a Cool Acronym) and imprisons Doof and Monogram. Agent P steps in but gets zapped with Doof’s many rays and in the cliffhanger of all cliffhangers, disappears.