In "Deathly Hallows", she chases Snape away from Hogwarts with Professors McGonagall and Flitwick. Informed that Voldemort and his Death Eaters are coming to besiege Hogwarts, she uses her knowledge of magical plants by improvising offensive botany, and, with the help of several students, throws Mandrakes, Snargaluff pods, and Venomous Tentaculas off the castle walls at the approaching Death Eaters. The epilogue of "Deathly Hallows" reveals that Neville has become the new Herbology teacher at Hogwarts. The circumstances of Sprout's departure from the job are not revealed.