Please mark the employees as inactive from the directory>>select employees>>bulk edit>>employee status as inactive with the effective date as the termination date.