A degree without appropriate industry experience is worth pretty much zilch.
You want to fly. Go fly. A masters won't help there.
You're better off getting some sort of appropriate industry experience. Something that shows initiative. You already have a degree. You don't need another one.
Least of all, you don't need to be spending your parents money. You're 24. Yes, you're young but old enough to get a job, any job, that earns an income.
Your flying life is not over. Not by a long shot. If you were 44, then I would say you have a problem.
If you're so worried about losing your medical, don't bother flying. The stress will do you in. BTW, stupid analogy.
If you have appropriate medical/loss of licence insurance, then retraining isn't too much of a cost burden.
When I was looking for work both here in the UK and in back in Australia, I took any job that would get me near an airport.