New York Laws
Article 5 - The Custody and Wages of Children
70 - Habeas Corpus for Child Detained by Parent.

(b) Any order under this section which applies to rights of visitation
with a child remanded or placed in the care of a person, official,
agency or institution pursuant to article ten of the family court act or
pursuant to an instrument approved under section three hundred
fifty-eight-a of the social services law, shall be enforceable pursuant
to the provisions of part eight of article ten of such act, sections
three hundred fifty-eight-a and three hundred eighty-four-a of the
social services law and other applicable provisions of law against any
person or official having care and custody, or temporary care and
custody, of such child.