Show firewall rules:

ufw status


Delete firewall rules:

First show the rules in numbered format:

ufw status numbered

The rule which you want delete:

ufw delete NUMBER