Disable illegal action.