If any person attempts wrongfully to carry the prisoner out of the county or state after service of a writ of habeas corpus or order to show cause, the person serving the writ or order to show cause, or other officer, shall arrest the person so resisting, and bring him together with the prisoner before the court or judge issuing the writ or order to show cause.
MCL 600.4334