Yeah, I’ve had a visa that depended on me remaining employed. Brutal if circumstances change, but I understand the need for a job requirement if it’s part of your arrival to a new country.
Quite another thing if the government can just kick you out because they decide you’re no longer...