Hagrid's Role in the War:
* Protecting Harry: Hagrid stayed at Hogwarts, protecting Harry from the Death Eaters while he was in hiding. He also played a role in the Battle of Hogwarts.
* Facing Loss: Hagrid faced the loss of his pet, Aragog, and several students close to him. He was also devastated by the death of his half-brother, Grawp.
* Fighting for his Beliefs: Hagrid fought bravely in the Battle of Hogwarts, alongside Harry and his friends. He was injured by a Death Eater but managed to survive.
* Helping the Resistance: He provided crucial support for the Order of the Phoenix and the resistance against Voldemort.
After the War:
* Rebuilding: After the war, Hagrid helped to rebuild Hogwarts and rebuild the lives of the students who survived.
* Continuing to Teach: Hagrid stayed on at Hogwarts, continuing to teach Care of Magical Creatures.
* Continuing to Support Harry: Hagrid continued to be a loyal friend and confidant to Harry, even after the war.
Overall:
Hagrid was a central figure in Harry Potter and the Deathly Hallows. He played a pivotal role in the fight against Voldemort, facing immense loss and heartbreak, but also displaying incredible strength and courage.