If anyone having in his custody, or under his power, any party who, by law, would be entitled to a writ of habeas corpus, or for whose relief such writ shall have been issued, shall, with intent to elude the service of such writ, or to avoid the effect thereof, transfer the party to the custody, or put him under the power or control, of another, or shall conceal or change the place of his confinement, or shall knowingly aid or abet another in so doing, he shall be guilty of a Class 1 misdemeanor.
N.C. Gen. Stat. § 17-28