Forced to search on their own, the Smurfs find the store and find the book "L’Histoire des Schtroumpfs" by researcher Peyo, containing the spell to turn the moon blue. But learning of their location, Gargamel sneaks into the bookstore and finds a dragon wand, transferring his magic into it as he uses it to capture Papa as he sends the others to safety. Though the Smurfs promised Papa that they won't try to save him and return home, Clumsy and Patrick, having seen the error of their actions after Grace gave him a sonogram picture of their baby, convince them to plan a rescue. At Belvedere Castle, after increasing the dragon wand's power with Smurf essence extracted from bits of Papa's beard, Gargamel finds himself facing all the Smurfs, summoned to New York by Brainy after he reopened the vortex by conjuring the blue moon. As the Smurf army battles Gargamel, Smurfette defeats Azrael and saves Papa before they join the fray. Though Gargamel attempts to break the Smurfs by killing Papa, Patrick saves him while Gutsy knocks the dragon wand out of Gargamel's hand, but he drops it. Clumsy tries to catch it, and to Papa's surprise, is successful, and sends Gargamel flying into trash bags and being hit by a MCI J4500 bus with the advertisement "Blue Moon" on it before Papa breaks it. Soon after, the Smurfs take their leave as Patrick receives a call from Odile that he still has his job because he finally gave her what she wants after she noticed the blue moon that Brainy created. Later, Patrick and Grace have a baby boy, whom they name Blue to honor the Smurfs, who rebuild their village in the style of New York.