The relief which a court may grant or order under ORS 138.510 to 138.680 shall include release, new trial, modification of sentence, and such other relief as may be proper and just. The court may also make supplementary orders to the relief granted, concerning such matters as rearrangement, retrial, custody and release on security.
ORS 138.520