Been there as well but instead of COBOL was badly designed PHP codebase. I had the same thought as you but in the end, I was really coding less and less at home. What I did was help in the forums for my favorite language. Helped old timers and newbie alike with examples and good practices. This slowly reignited my passion for the language and I slowly started coming back as I coded libraries people wanted and little examples. Now I am full time back with my favorite language and happy.