Behavior-deterring collar with emergency override