Obedience to a judgment or order for the discharge of a prisoner or person restrained of his liberty, pursuant to the provisions of this Chapter, may be enforced by the court or judge by attachment in the same manner and with the same effect as for a neglect to make return to a writ of habeas corpus; and the person found guilty of such disobedience shall forfeit to the party aggrieved two thousand five hundred dollars ($2,500), besides any special damages which such party may have sustained.
N.C. Gen. Stat. § 17-23