Upon the termination of the effectiveness of the securing order pursuant to paragraph (a), (c) or (d), the court must immediately order that the defendant be discharged from custody if he is in the custody of the sheriff, or if he is at liberty on bail it must exonerate the bail. Although expiration of the period of time specified in paragraph (d) without any resubmission or grand jury disposition of the case terminates the effectiveness of the securing order, it does not terminate the effectiveness of the order authorizing resubmission.
N.Y. Crim. Proc. Law § 210.45