Ending employment in certain circumstances can be stressful for teachers and the law expects employers to observe some principles.