The unset command will remove the definitions of shell variables, previously defined with the set command, passed as arguments.
unset [varname ...]All of the named variables are unset (undefined). The argument may be ``*'', in which case all variables are unset (although this is usually not something that one would want to do).