Before or after giving bail, the defendant may deposit with the sheriff, or in court, the amount specified in the order of arrest issued pursuant to section 2713.02 of the Revised Code; whereupon the defendant must be discharged, or his bail be released.
R.C. §2713.09