Habeas Corpus and Mandamus are two of the five writs that can be issued by the Supreme Court. Under Habeas Corpus, the court can cause any person who has been detained or imprisoned to be physically brought before the court. Mandamus is a command issued by the court to any public official, public body, corporation, inferior court, tribunal or government asking them to perform their duties which they have refused to perform.