If the plaintiff does not obtain judgment against the defendant in attachment, all property condemned, when a claim for the trial of the right of property has been interposed, must be restored to the claimant at the cost of the plaintiff.
Ala. Code § 6-6-146 (1975)