resignation in lieu of termination