I have thought about that a lot, so much of software is ephemeral, and I find I can never talk to anyone in the real world about it making it feel even more ephemeral.
I don't intend to retrain exactly as I do love software, but I have been trying to work with software that interacts with the real world more often, and I have been adding lots of hands on skills to my skill collection.
Working in robotics or automation could potentially be a decent blend of software and the real-world that still has career prospects, and if anyone has any suggestions on more hands-on software industries I would love to hear them.