To ensure that Fiona falls in love with Charming, the Fairy Godmother gives Harold a love potion to put into Fiona's tea. This exchange is overheard by Shrek, Donkey and Puss, who are arrested by the royal guards and thrown into a dungeon. While the royal ball begins, several of Shrek's friends band together to free the trio with the help of The Muffin Man's monster-sized gingerbread man, which breaks through the castle's defenses. Shrek is too late to prevent Charming from kissing Fiona, but instead of falling in love with Charming, Fiona knocks him out with a headbutt. Harold reveals that he never gave Fiona the love potion, whereupon the now-enraged Fairy Godmother attacks Shrek. In the ensuing melee, Harold sacrifices himself to save Shrek; his armor ricochets a spell cast by the Fairy Godmother which disintegrates her, and Harold is turned back into the Frog Prince. Harold gives his blessing to the marriage and apologizes for his earlier behavior, admitting his use of the Happily Ever After potion years earlier.