The study group makes a plan to rescue the dean and stop Chang from destroying Greendale. Their Ocean's Eleven like plan almost works, but they get caught in the end. The group then uses the dean's rave hallways at the school to escape once again, but it also doesn't work. Eventually Troy agrees to join the A.C. School so that they will help the study group escape.
They do, and then explain to the school board what was going on, and everything goes back to normal.