Writs for Releasing Inmates or Persons in Custody:

Writ of Deliverance – court’s order directing that a person in custody be released

Writ of Habeas Corpus – command that a prisoner (or detainee or one on probation) be brought before the court to challenge the legality of their custody & demand their release