There is also a file with the list of plugins .obsidian/community-plugins.json. You might also want to delete the line that has the problematic plugin.
(Just be careful with json format if you are hand-editing the files. Every line has a comma at the end, except the last one.)