§ 771. Punishment upon return of habeas corpus. Where the accused is brought up by virtue of a writ of habeas corpus, he must, after the final order is made, be remanded to the custody of the sheriff, or other officer, to whom the writ was directed. If the final order directs that he be punished by imprisonment, or committed until the payment of a sum of money, he must be so imprisoned or committed, upon his discharge from custody under the mandate, by virtue of which he is held by the sheriff, or other officer.

Terms Used In N.Y. Judiciary Law 771

  • Habeas corpus: A writ that is usually used to bring a prisoner before the court to determine the legality of his imprisonment. It may also be used to bring a person in custody before the court to give testimony, or to be prosecuted.
  • Writ: A formal written command, issued from the court, requiring the performance of a specific act.