I’ve done similar, although not in the same situation: that sounds very painful to endure
(Thinking mode engaging)
Assuming it’s an acoustic guitar those do come up in charity shops relatively often, and music shops also buy and sell second hand instruments: it shouldn’t be impossible to find another, maybe even a better one if you’re lucky.
Doesn’t really seem fair to laugh and joke at anyone struggling with a guitar when they don’t play it tbh.
I play guitar (classical) and it’s not as friendly an instrument to get to grips with as it can look: quite the reverse in fact!