I too experienced this a couple years ago, my department was eliminated and I had to go out to another team and train my replacements. Thankfully only had to be unemployed for a couple months and then was able to find another job, much lower pay but it was better than nothing