No need to go to registry and seek for the hives to adjust their values.
$UserProfilePath = $env:USERPROFILE
taskkill /IM ms-teams.exe /F
Remove-Item $UserProfilePath\AppData\Roaming\Microsoft\Teams\* -Recurse -Force