To prove that he can. When Harry finally wins the war, he asks if Draco wants the vials of his memories back (he doesn’t). Draco works briefly as a ministry counsel after, acquitting charges against Slytherins like Pansy, Theo, and Goyle. Some of them leave the country. Some,