The commitment of the defendant as mentioned in the last section, exonerates his bail, or entitles the person authorized to receive the property of the defendant to the return of money he may have deposited instead of bail.
Okla. Stat. tit. 22, § 1168