N.Y. Comp. Codes R. & Regs. tit. 7, § 255.2
Incarcerated individuals placed in a residential rehabilitation unit or a step-down unit shall be released to general confinement no later than the expiration of the sanction imposed or upon successful completion of a residential rehabilitation unit or step-down unit program, whichever is earlier, unless the individual agrees to continue until completion of the program. The remainder of the incarcerated individual's sanction, if any, will be suspended upon the incarcerated individual's release from the residential rehabilitation unit or step-down unit program. If the incarcerated individual does not engage in any sanctionable conduct during the duration of the suspended sanction, that disciplinary sanction will expire on the earlier of the sanction end-date or six months from the date of release to general confinement. Service of suspended penalties may be imposed as a sanction, based on an individualized assessment, only for serious misbehavior or for committing the same or similar violation as that leading to the suspended sanction.