If the defendant, after the return of eloignment, produces the body of the plaintiff in court, the court shall deliver him from imprisonment, upon his giving the defendant such bond as hereinbefore in this chapter directed to be taken by the officer when the plaintiff is delivered by him; and for want thereof, he shall be committed to abide the judgment on the writ for replevying the plaintiff; and, in either case, the action shall be tried as aforesaid.
14 M.R.S. § 7359