The 'load script' command can help with reverting back changes. You can also review the current commands that have been set using the command 'show configuration ' and then either unconfiguring or disabling the command in question. Also, the commands 'enable cli-config-logging' and 'history' can help keep record of the commands been issued previously.