When final judgment is rendered on the trial of such detinue proceeding, the court shall dispose of the property or proceeds according to the rights of those entitled. When, in any such proceeding, the plaintiff prevails under a contract which, regardless of its form or express terms, was in fact made to secure the payment of money to the plaintiff or his assignor, judgment shall be for the recovery of the amount due the plaintiff thereunder or for the specific property, and costs. The defendant shall have the election of paying the amount of such judgment or surrendering the specific property. The court may grant the defendant a reasonable time not exceeding thirty days, within which to make the election upon such security being given as the court may deem sufficient. When the property involves an animal as defined in § 3.2-6500, the court may order the return of the animal to the prevailing plaintiff without regard to any alternative method of recovery.If the defendant elects to surrender the property as aforesaid, upon delivery of the property to the plaintiff or repossession thereof by him, the plaintiff may proceed to sell the property in accordance with the applicable provisions of the Uniform Commercial Code (Part 6 (§§ 8.9A-601 et seq.) of Title 8.9A) with all the rights and responsibilities therein provided.
Code 1950, § 8-593; 1964, c. 219; 1977, c. 617; 1987, c. 1; 1993, c. 841.