Solved: After removing modules from init.el, comannds still exist

Because of experimentations with my problem here, I removed neotree from my init.el and installed treemacs and vice versa. After the removal of neotree, m-x still shows neotree-commands, after removing treemacs the treemacs-commands still exist (and when I try to use them they error out because the package does not exist anymore). I tried deleting $HOME/.config/emacs/.local/cache but the commands still turn up. What do I have to do to get rid of commands that do not exist anymore.

Because of my other issue I deleted .config/emacs and now this problem is solved as well