If the personal property attached, or any part thereof, shall have been replevied by the defendant, the court or jury trying the issue between the parties, if it find for the plaintiff, shall assess the value of the property so replevied by the defendant, as well as the debt or damages due the plaintiff. If the value of the property shall equal the amount found due the plaintiff, judgment shall be entered against the defendant and his sureties in such replevin bond, for the amount of said value. If the value of the property be less than the amount found due the plaintiff, judgment shall be entered against the defendant for the amount of the verdict, and against the sureties in his replevin bond for the value of the property so replevied. If judgment by default shall be entered in such case against the defendant, an inquiry shall be awarded to assess the value of the property so replevied; and on the execution thereof judgment shall be rendered as above provided. In all cases, the judgment against the sureties of the defendant shall be satisfied and discharged by the delivery to the sheriff of the property replevied within ten days after execution on such judgment shall have come to his hands; and the sheriff shall sell the property so delivered to him, and apply the proceeds to the payment of the execution.