It's called life! I had a period of just over 3 years where I worked in the railway industry as a signaller as I couldn't find gainful employment in aviation as a pilot. And I was very experienced with over ten years in training but had had a break from flying due to a family bereavement.
I know from personal experience that it can be very challenging when you want to fly but the jobs aren't there but you just have to make the best of it and go find something to do which keeps the wolf from the door. Thankfully I got back into flying again but the experience I had working in another industry taught me a lot and I now appreciate what I am doing now even more.