Dr. Strange finally escapes his trap as the universe appears to start crumbling and other creatures try to get through. He tries to seal all the cracks but can't hold it much longer. Peter then asks him to cast a spell to make everyone forget Peter Parker ever existed so that villains have no reason to come to this universe. This also allows Dr. Strange to press the magic button, sending all of the multiverse people home: Garfield's Peter, Maguire's Peter, the Green Goblin, the Sandman, Electro, Dr. Otto, and the Lizard.
Amid the spell-casting, Peter says goodbye to Ned and MJ, who will forget him. MJ says "I love you" to Peter and asks him to say it back later hoping that it'll spark back her memory. The rest, you'll have to see for yourself!