Remove shell variables or functions. More information: https://manned.org/unset.
foo
unset foo
unset -v foo bar
unset -f my_func