I am sending big hugs and hopes that a "this closed door will lead to an open door" that will be just as satisfying to you.
Leaving a job you are so attached to is very hard. I retired almost two years ago from a job I absolutely loved and still miss some parts of it. (we were moving.....DH was already retired...you get the picture) Life is always changing and it is always a challenge to adapt.....
Wishing you lots of good luck in the future