There's a famous expression, "When one door closes, another one opens". That's certainly been my experience, although it didn't always look rosy when I was in the middle of a situation.
I was furloughed from United on April 1, 1981 (April Fool's Day). It was just after midnight, and I turned in my cockpit key, my company ID, and my flight manuals, and I was unemployed. Job prospects were miserable. The only pilots who had gotten work were the ones who were furloughed first. We had to sell our home, and moved out on our wedding anniversary. It was tough. A door had closed.
Through networking, I had gotten in touch with another furloughed pilot and heard that Lockheed was hiring. I interviewed and was hired for a job no one could tell me about until I had a security clearance. So I dutifully went into work every day and sat in a processing office waiting for my security clearance to come through. And I waited. Although I was getting paid - about the same as what I made at United - I hated the one-hour drive in California traffic, and I missed flying.
One day I came across an article in the Air Force Times about the Palace Recall Program, and I called the number listed. I told the person that I had left the Air Force almost four years earlier, and I was interested in geetting back in. He said, "You're not going to get in unless you're a fighter pilot". I said I was, and he let me apply. A total of 246 officers applied for the program, and 13 were accepted. I was one of them.
I ended up flying for the entire time I was furloughed, earned the Tactical Air Command Instructor Pilot of the Year Award, and eventually became a Squadron Commander. It was great, and it wouldn't have happened if I hadn't been furloughed. A door had opened.
I've found this "door closes-door opens" numerous times in my career.