Personally I’ve never believed in putting off your dreams until you’re least able to enjoy them - retirement. If you’re good at what you do, I highly recommend taking mini retirements every few years. There’s no better way to explore what’s important to you.
But let’s imagine the worst happens and the world plunges into a deep recessions while you’re on your sabbatical. Maybe someone steals your car too. You have a year of expenses saved up. This is huge. Could you take a job waiting tables for a time too? Enjoyable. No. End of the world. Absolutely not. Eventually you will find a tech job again.
This calculus completely changes if you have a family to look after but you sound like you’re young and single. I highly recommend the below thread asking a similar question.