Such behavior could constitute:
* Harassment: Intentionally creating a negative and uncomfortable environment for a student.
* Bullying: Using power to intimidate or harm a student.
* Discrimination: Targeting a student based on protected characteristics (race, religion, gender, disability, etc.).
* Emotional distress: Causing significant emotional harm to a student.
* Breach of contract: Violating the implied or explicit contract between the teacher and the school/students.
If a teacher makes such threats or engages in such behavior, the student (or their parent/guardian) should:
* Document everything: Keep records of incidents, dates, times, witnesses, etc.
* Report the issue: Contact the school administration (principal, superintendent), school counselor, and potentially the school board.
* Contact outside agencies: Depending on the severity, this could include child protective services, the police, or legal counsel.
The specific legal recourse available will depend on the jurisdiction and the specifics of the situation. However, it is generally illegal for a teacher to intentionally make a student's life miserable.