N.Y. Criminal Procedure Law § 210.45
4. The court must grant the motion without conducting a hearing if:
5. The court may deny the motion without conducting a hearing if:
9. When the court dismisses the entire indictment but authorizes resubmission of the charge or charges to a grand jury, such authorization is, for purposes of this subdivision, deemed to constitute an order holding the defendant for the action of a grand jury with respect to such charge or charges. Such order must be accompanied by a securing order either releasing the defendant on his own recognizance or fixing bail or committing him to the custody of the sheriff pending resubmission of the case to the grand jury and the grand jury's disposition thereof. Such securing order remains in effect until the first to occur of any of the following: