Section 22. Cancellation of bail bond. —
Upon application filed with the court and after due notice to the prosecutor, the bail bond may be cancelled upon surrender of the accused or proof of his death.
The bail bond shall be deemed automatically cancelled upon acquittal of the accused or dismissal of the case or execution of the final judgment of conviction.
In all instances, the cancellation shall be without prejudice to any liability on the bond. (19a)