CmdID / PowerShell / Cmdlets / Disconnect
Disconnect-ExchangeOnline
Use the Disconnect-ExchangeOnline cmdlet in the Exchange Online PowerShell module to disconnect the connections that you created using the Connect-ExchangeOnline or Connect-IPPSSession cmdlets. Exchange PowerShell reference
From the Exchange PowerShell reference 4 parameters Its page in the reference
Parameters
-Confirm, -cfThe Confirm switch specifies whether to show or hide the confirmation prompt.-ConnectionIdThe ConnectionId parameter specifies the REST API connections to disconnect by ConnectionId.-ModulePrefixThe ModulePrefix parameter specifies the REST API connections to disconnect by ModulePrefix.-WhatIf, -wiThe WhatIf switch shows what the command does without making any changes.