SpongeBob SquarePants: Season 11, Episode 40
Plankton goes to jail, but the secret formula is taken as evidence, so SpongeBob and Mr. Krabs plot to get it back.