I was lucky. I found another job closer to home for almost the same money within three months. The old company liquidated the factory not long after I left. My replacement got canned too.
You are lucky; thank God. Nice to hear a happy ending!
I’m always happy when someone leaves my company on their own terms (either for another job or to retire).