Basically, you need to type the opposite command. For some, it means adding the opposite value, which is usually ‘1’ for activation and ‘0’ for deactivation (e.g., sv_cheats 1 enables 'cheat' commands, and sv_cheats 0 disables them). For others, you need to find an opposite command (e.g., bot_add/bot_kick)