To remove a local user account created using the 'aaa authentication local-user' command, simply use the 'no' form of the command:
switch(config)# no aaa authentication local-user localuser
To remove password protection for the built-in manager or operator users, use one of the following:
switch(config)# no password operator
switch(config)# no password manager