Complete removal of unused plug-ins that cause packaging errors Tell me how

When trying to package a project with WindowsDesktop, it failed with an error.
I found out that it was caused by an unused plug-in in the project.
I don’t know how to delete the plugin.
By the way, there is no BP or component that uses the plug-in.