dismissal
The termination of a legal proceeding by the judge, before a trial or hearing, typically on the grant of a motion to dismiss by the adverse party, or because the claimant failed to proceed with the action or comply with an order of the court, or because the claimant has agreed to end the proceeding.
Of employment, the firing of an employee.