You don't need to retire to meditate, travel the world, nor learn things for fun. Sounds like you need to figure out what you want, and one way to approach that is to try doing something that isn't what you're doing now. Probably if you leave your job, you would be able to find something like it in the future - software isn't a career path where gaps in your resume make you unemployable, and it absolutely is one where you can experience location flexibility.