The provisions of this chapter shall apply to all cases of wrongful detention, including property attached in other actions of replevin or pursuant to other process of law and may be initiated at any stage of the proceedings and any violation of orders of the court issued hereunder may be punished by contempt.