Injunction

Order by the court telling someone what he or she must do or refrain from doing, the penalty for disobedience can be imprisonment.