Shrek Forever After
During the ambush, most of the ogres are captured by the Pied Piper, who was hired by Rumpelstiltskin, but Shrek and Fiona escape with Puss in Boots and Donkey. Later on, Rumpel publicly offers a wish to anyone who brings him Shrek, and after hearing this, Shrek turns himself in. Rumpelstiltskin is forced to grant Shrek's wish, and he uses it to free the other ogres. As Shrek is locked up, Rumpel reveals that Fiona had been captured and not released, since she is not "all ogre" (she turns into human during the day, as her curse was not stopped because she was never rescued). Donkey, Puss, and the freed ogres attack the castle and fight the witches.