In case the employer breaches the contract by terminating the worker just before it ends, it may be regarded wrongful termination. The terminated personnel need to check with a lawyer to discuss their solutions.
The https://jmllaw.com/areas-of-practice/employment-law/wrongful-termination.shtml