To disable or deactivate a role, go to configuration > role. Using the slider at the bottom of your screen, scroll to the right. Click on the three dots beside the role you want to disable. A modal appears.
Uncheck Activate to disable or deactivate a role.
Click on save.