I've come to the realization the key difference is working code needs to be an order of magnitude more robust than hobby projects. There is a major difference in energy needed to get there. Spending this energy costs and there comes a point where programming becomes taxing instead of recharging.
Take care of your recovery, have outside interests to programming and realize as you age your ability to recover slows down even more, but your abilities also change. Wisdom accumulated along the way make you able to use your energy wisely.