N.Y. Family Court Act § 1067
Discontinuation of treatment by agency or institution
A child placed with an authorized agency under section one thousand fifty-five shall be returned to the court which entered the order of placement, if the agency (a) discontinues or suspends its work; or
(b) is unwilling to continue to care for the child for the reason that support by the state of New York or one of its political subdivisions has been discontinued; or
(c) so fundamentally alters its program that the child can no longer benefit from it.