After the fire in the map room, Alby is found beaten up while being held in Minho's arms. Thomas says that he and Teresa may know how to solve the maze without the maps. Although Minho remebers they moved the maps before and kept them protected.
FLOAT. CATCH. BLEED. DEATH. STIFF. PUSH. That's the whole message the maps showed them. Thomas then has a crazy idea to get bitten by a griever, in order to go through the changing hoping to get some memories back. Before he passes out with the Grief Serum, he tells Chuck, Teresa, and Newt that he got stung on purpose.
FLOAT. CATCH. BLEED. DEATH. STIFF. PUSH.
Thomas has the group host a gathering to discuss his experiences about his memories. He claims to have forcefully helped the creators make the maze but he knows a way out. Alby argues that he is lying but then confesses that he burned the map room due to his memories. Thomas then makes a plan to attack the Hole in order to get out.
Once the Galders get on board with the plan, Thomas, Newt, Chuck, and Teresa all lead the rest of the boys into the maze as they hold spears ready to fight their way through the Hole. Although they believe that only one boy will be killed. Alby is the first to get his body torn into pieces by the grievers.
After a battle with the Grievers and losing half of the team, they finally make it to the computer and Teresa enters the code. It wouldn't enter until Chuck requested to push a different button, which then made everything silence as a door opened.
The exit from the Glade was a slide which led them to the real world. Chuck died a few moments after they get out and were greeted by a man (Gally) and woman whom were part of WICKED. The woman was then shot and the kids were taken by another group. They told them that the population was dying due to disasters by sun flares, and they were a part of an experiment to train their generation to find an end to this tragedy.