Singapore legislation
Section 16
Section 16
Application by defendant
A defendant may, at any time after his arrest, apply to the court or a judge to rescind or vary the order made thereunder, or discharge him from custody, and the court or judge may make such order as is just.