You can remove the custom directly from Cyberduck by deleting the desired module.
In short, to fetch custom modules, connect to the website via Cyberduck using WebDAV, navigate to the modules folder to locate custom modules, then remove them directly through Cyberduck.