a writ for the bailing of a man out of prison when he is confined without commandment of the king or his judges, or for any cause that is repleviable. But this writ is now seldom used; a writ of habeas corpus being sued out on the necessary occasions.