As a result of him losing this fight, Madame Margaret was able to successfully take over the world and turn almost all the boys into girls. In the distant future, Numbuh 4, now an old man, had formed a rebellion of boys known as The Boys Next Door, who fought against Margaret's forces. When they went to have their final battle with the girls, along with a defector from the Girl Squad, Sally Sanban, the Boys Next Door were overpowered and all turned into girls, except for Numbuh 4, who was confronting Madame Margaret in her lair. Now the last boy on the planet, Wally used the same time machine the villain had used to contact her past self and went back in time to warn the KND about his future. Madame Margaret tried to follow him into the past, but Sally destroyed the time machine before she could do so.
Once he had returned to the past, Wallabee contacted the KND and informed them of his past self's predicament. Future Numbuh 4 had then led Sector V to the school, defeated the Girl Squad, and rescued his younger self. Margie then attempted to contact her future self, but Numbuh 3 crushed her time machine in the same manner her grandaughter had done in the future. The school was then destroyed, and Margie was taken to KND Arctic Prison, and 75 years later, on those same grounds, a playground was built for both boys and girls.