Injunctive relief consists of a court order called an injunction, requiring an individual to do or not do a specific action. It is an extraordinary remedy that courts utilize in special cases where preservation of the status quo or taking some specific action is required in order to prevent possible injustice. For example, in a custody case, an injunction may be used to prevent a party from removing a child from the country. Injunctive relief is an equitable remedy granted when money damages are not able to compensate the plaintiff's violation of rights if an injunction is not granted. Failure to comply with a notice of an injunction is punishable by being held in contempt of court.
Mandamus is an order to a public agency or governmental body to perform an act required by law when it has neglected or refused to do so. A person may petition for a writ of mandamus when an official has refused to fulfill a legal obligation, such as ordering an agency to release public records.