Charlie and the Chocolate Factory (musical) returns, and seeing Charlie’s additions, he tells him he’s won, inviting Charlie into his Great Glass Elevator so that he can show him his prize, the chocolate factory. ("Pure Imagination"). They return to Earth where Wonka announces he’s leaving, and that Charlie is now in charge ("A Little Me"). He disappears, but as the Bucket family moves into the factory, Charlie sees the mysterious tramp outside the gates, who is revealed as Wonka. As the Oompa-Loompas and Charlie wave goodbye from the factory windows, Wonka vanishes, singing a reprise of "It Must Be Believed to Be Seen", leaving Charlie to
Willy Wonka & the Chocolate Factory is actually Mr. Wilkinson, an employee of Wonka, and the offer to buy the Gobstopper was a morality test that only Charlie passed. The trio enter the "Wonkavator", a multi-directional glass elevator that flies out of the factory. Soaring over the city, Wonka reveals that his actual prize is the factory; Wonka created the contest to find an heir worthy enough, and so Charlie and his family can immediately move in. Wonka then reminds Charlie not to forget about the man who suddenly received everything he ever wanted. Charlie asks, "What happened?" to which Wonka replies, "He lived happily ever