How do I remove the entire LE setup?

I installed it with nginx as a reverse proxy to handle auto-renewals on Ubuntu 16.04. How do I remove everything please? I need to use the defaults ports for a service, and cannot whilst this setup is running.