Last year I knew a pilot who was a former mechanical engineer, decided to become a pilot, flew for 10 years and became a regional captain. After one year as a captain he said he had enough blah blah blah and was right back into another mechanical engineering job in his hometown.
I would aver to guess that if you keep in touch/network in your old field, then you're never that far away from a job.