Unlawful termination, also known as wrongful dismissal, occurs when an employee is dismissed from their job in violation of legal or contractual obligations. This can include dismissals based on discrimination, retaliation, or breach of employment contract terms.