When you disable external sharing, existing external users will not be able to access content inside the selected site collections. ...

When you disable external sharing, existing external users will not be able to access content inside the selected site collections. If you choose to re-enable it later, you may have to re-invite external users. If you want to temporarily limit external user access, consider turning off external sharing from the Tenant Settings page instead.

Do you want to disable external sharing?