N.Y. Public Health Law § 2994-K
2. If a decision to withhold or withdraw life-sustaining treatment has been made pursuant to this article, and an attending physician determines at any time that the decision is no longer appropriate or authorized because the patient has regained decision-making capacity or because the patient's condition has otherwise improved, the physician shall immediately: