Lol it's not that big a deal if you lose a job when you have around 12months living expenses saved up. So that goes twords living expenses, then you get unemployment at 60% of income. People need to move on, and stop being so emotionally invested in their work.
You are most likely an at-will employee. You or the employer can terminate the relationship immediately giving any reason or no reason. Just have money saved up and don't be afraid to quit without notice to something better if you need to.