CmdID / PowerShell / Cmdlets / Disconnect
Disconnect-MicrosoftTeams
From the Microsoft Teams PowerShell reference 2 parameters Its page in the reference
Parameters
-Confirm, -cfProactively accepts any confirmation prompts.-WhatIf, -wiSimulates what would happen if the cmdlet is run.