(1)On the release of a prisoner, upon the expiry of his sentence or on bail, his warrant shall be returned to the Court which (and not, by name, to the officer who) issued it, with an endorsement showing the date and cause of release, and the date on which the warrant is returned.