If the owner, master, supercargo, or consignee of any such boat or vessel seized by attachment shall, at any time before judgment, give bond to the plaintiff with security to be approved by the clerk of the circuit court or by the judge, as the case may be, in double the amount of the demand sued for, conditioned to pay and satisfy such judgment as the court may render against the boat or vessel, or against the owner, as the case may be, together with cost of suit, then the boat or vessel shall forthwith be discharged from the attachment, seizure, and detention. The boat shall nevertheless be liable to be taken and sold on any execution to be issued on any such judgment or upon the judgment that may be rendered at any time on the bond required to be given by the defendant party.