Now, I am 37 transitioned and while still write A LOT of code ( mostly back-end, high performance APIs, DB stuff ), review a lot of code, but bareley touch front-end work. I grok it, can make the changes, but I am too old for front-end work.
At my role ( 1 level away from C-Level executives) it's not expected to code at all - just power point, diagrams and general corporate lingo, but I can't let myself down that path.
So, my suggestion - start transioning ASAP from just coding - move to managing people who code, then to managing people who manage other people who manage the people that code.
More money, more recognition - less stress in general.