For creators
You can disconnect Discord from your Creator Preferences > App integration > Disconnect.
Once disconnected, roles will no longer be automatically assigned to supporters.
Additionally, supporter roles will no longer be managed, and roles will not be automatically revoked after a supporter cancels their pledge.
For supporters
You can disconnect Discord from your Account Settings > App integration > Disconnect.
Once disconnected, any roles you were previously assigned in the creator's Discord server will be automatically revoked.