you can achieve this executing the following commands

sudo apt-get remove fail2ban
sudo apt-get purge fail2ban