(Whether this makes you more resistant to being "fired" is still up for debate of course.)
"The market" lays you off - or heavily reduces your salary.