In case the employer breaches the contract by terminating the worker in advance of it finishes, it may be viewed as wrongful termination. The terminated staff need to talk to an attorney to discuss their solutions.
I https://jmllaw.com/areas-of-practice/employment-law/wrongful-termination.shtml