Subject to the limitations of ORS 135.530(2), if the court allows the case to be resubmitted or refiled, the defendant, if then in custody, shall so remain, unless the defendant is released as provided by law. If the defendant has already been released, the release agreement or any security deposited as provided by law, shall continue to insure the appearance of the defendant to answer a new indictment or information, if one is filed.
ORS 135.540