Identify the setting you changed
If you entered a variable name and number, use the same name with its previous value to restore it. For example, cl_hud_color 0 returns to team color. If you used a different color before, restore that value instead. Entering the variable without a number displays its current value.
Undo a binding separately
If you used bind, restore the key’s previous action. unbind removes the assignment entirely, so use it for a key that used to be free. To inspect the current command, enter bind followed by the key name without an action.
Check the next launch
If the setting returns after restarting, find it in autoexec and other CFG files loaded through exec. Back up the file before removing the repeated assignment. One-off actions, such as disconnecting from a server, require another action to return to play.