Within the shattered remains he finds the Resurrection Stone and inadvertently summons the old man who informs him what it is. Having a terrible idea, Harry tries summoning Voldemort’s soul.
After all Voldemort is, technically speaking, dead and has been for nearly sixteen years. He’s just forcibly kept his soul from moving on by tying it to several anchors. As far as anybody knows, the Stone is the only thing capable of summoning a soul from beyond the veil. In comparison, the enchantments needed to have a horcrux function are nothing. Much to Harry’s joy, it works and Harry promptly banishes Voldemort’s soul permanently.
The entire burrow is awakened by Harry whooping for joy. As Harry proceeds to reminds Hermione, witches and wizards have at best a passing acquaintance with logic and common sense much to her annoyance and Ron’s bemusement. meanwhile the Death Eaters are all losing it because Potter apparently just gained the ability to just flat out kill you at any moment, anywhere you may be from what their lord was screaming before dying.