Use the following command:

sudo fail2ban-client set <JAIL_NAME> unbanip <IP_ADDRESS>

Where:

JAIL_NAME The name of the jail.

Use the following command to find-out what jail names you have:

sudo fail2ban-client status
IP_ADDRESS The IP address that was banned.

Related:
Finding out the Banned IPs of Fail2Ban