Thank you so much for your help! I pruned about a fourth of it today and gave it some more water. Unfortunately, it's still looking wilted.
I will prune some more and bury it more deeply. I'm also going to try to find some shade for it. I really hope it survives. Thank you all for your help!