Question: how did harry get the sword of gryffindor?
Answer: Snape deposited the real sword in a frozen lake in the Forest of Dean and used his corporeal Doe Patronus to guide Harry to the sword. ... Ron Weasley came to Harry's rescue, retrieved the sword from the lake and used it to stab the locket, destroying it.