New York Laws
Article 70 - Habeas Corpus
7012 - Redetention After Discharge.

ยง 7012. Redetention after discharge. A person discharged upon the
return of a writ of habeas corpus shall not be detained for the same
cause, except by virtue of a subsequent lawful mandate.