I wouldn’t necessarily expect that you gained some discrete skills that will help you in software. Probably what you gained is something more valuable: perspective, and peace.
Now when you are 45 or 50, rather than a crushing feeling of having wasted your life behind a desk you will hopefully feel happy that you spent your good years living life.