CmdID

CmdID / PowerShell / Cmdlets / Disconnect

Disconnect-MgGraph

Once you're signed in, you'll remain signed in until you invoke Disconnect-MgGraph. Microsoft Graph PowerShell reference

From the Microsoft Graph PowerShell reference 1 parameter Its page in the reference

Opens CmdID with your command, read as PowerShell. It is read in your browser and sent nowhere.

Parameters

1 in the Microsoft Graph PowerShell reference
-SignOutFromBrokerAlso removes cached accounts from the Windows broker (WAM).