Hello Donkin,
You can revoke the access and refresh tokens (answer by Alfredo):
Azure AD refresh tokens can be revoked by a user using the AzureAD PowerShell Revoke-AzureADSignedInUserAllRefreshToken cmdlet or by an admin using the Revoke-AzureADUserAllRefreshToken cmdlet. For other instances when refresh tokens will get revoked during the device flow take a look to the password-and non-password based token columns of the Token revocations table.
Cited from https://learn.microsoft.com/en-us/answers/questions/986743/how-to-revoke-oauth-refresh-token
You will need to open PowerShell and first load the Azure AD module and connect with your Azure AD credentials:
https://learn.microsoft.com/en-us/powershell/module/azuread/?view=azureadps-2.0
If this is helpful please accept answer.