He did.
He fought to bring justice & honor for Dumbledore's death.
Quote:
During the Battle of Hogwarts, Slughorn sided with the defenders of Hogwarts, gathering reinforcements from Hogsmeade, and engaged his former pupil in a duel alongside Minerva McGonagall and Kingsley Shacklebolt. He survived the battle and had retired a second time by 2016, having a portrait hung in the Slytherin Dungeon.
|
Also because of his bravery and since he's from Slytherin, perceptions about the house changed when he fought alongside everyone at the Battle of Hogwarts.