I had the same realization as you about a year ago. I didn't feel like I was a strong "lead" on the team, people around me could always seem to come up with a more original idea than my inside the box ideas. I decided to take some time away from coding and embrace interests outside of work.
Right before I quit, I was taking PTOs regularly to spend time at Wheaton Labs (the founder himself retired from tech) and really learned alot from there about gardening and being energy efficient with utilities around me.
I then quit my job three months ago and started doing everything I've always wanted to do / learn! Here are some of them:
1. I had no idea how food is grown. I started maintaining my own backyard to learn about how to grow different foods. Most of them are still growing, waiting patiently for harvest.
2. I had no idea why people eat gluten free foods and what types of food allergens there out there and did some digging (Wow really learned alot there)
3. I've always ate out and my cooking skills sucks. I started cooking my favorite foods and trying to get good at it (PIZZA!)
4. Music! I always felt left out when my coworkers were having music jam sessions. I've been practicing the 3 main cords every day in the past 3 months and I can sometimes improvise and sing to my wife throughout the day.
And the most important is time! I finally have the time to dive deeper and deeper into whatever topics I find interesting.