The commitment of the defendant, as described in Section 1370, 1370.1, 1370.01, or 1370.02, exonerates his or her bail, or entitles a person, authorized to receive the property of the defendant, to a return of any money he or she may have deposited instead of bail, or gives, to the person or persons found by the court to have deposited any money instead of bail on behalf of the defendant, a right to the return of that money.
Ca. Pen. Code § 1371