You can disable cmp with inline Lua command, invoked by :lua command.

:lua require('cmp').setup({ enabled = false })