After Harry unexpectedly returns alive from the graveyard battle with Voldemort, Crouch/Moody takes Harry back to his office, questions him about Voldemort and what happened in the graveyard, and reveals that he is working for Voldemort. He then prepares to kill Harry, but Dumbledore, McGonagall, and Snape stop him. Having neglected to take his hourly dose of Polyjuice potion, Crouch transforms back to his own appearance and, under the influence of Veritaserum, confesses everything. Dumbledore then rescues the real Moody from his magic trunk.