In case such an unexpected thing happens, a foreign specialist must bear in mind what to do to minimise impact. They should remember that once their sponsor loses their sponsorship licence:
Their certificate of sponsorship will be immediately withdrawn as well.
They will have 60 days to find another sponsor and get a new certificate of sponsorship, or leave the UK. Even if the remaining period of validity of their visa is less than 60 days when the sponsor’s licence is terminated, they still have two months to decide what to do.
During the 60 days, they must obtain another visa or leave the UK. If we talk about a valuable specialist whose qualification is in high demand here, they may get a job with another sponsor. They will get a new certificate of sponsorship and a new UK Skilled Worker visa. However, if the sponsorship licence has been revoked because of the worker’s actions, they must leave the country immediately.