I understand you on that, and after doing the steps the Game bar is still active?
If yes, let us uninstall all the Xbox components, kindly follow the steps below:
Open Powershell with Admin or Windows Terminal Admin (Press Windows key + X then click Windows Powershell(Admin))
Copy, paste, and enter the command below:
Get-AppxPackage Microsoft.Xbox.TCUI | Remove-AppxPackage
Get-AppxPackage Microsoft.XboxGameOverlay | Remove-AppxPackage
Get-AppxPackage Microsoft.XboxGamingOverlay | Remove-AppxPackage
Get-AppxPackage Microsoft.XboxIdentityProvider | Remove-AppxPackage
Get-AppxPackage Microsoft.XboxSpeechToTextOverlay | Remove-AppxPackage
Once done, restart the PC and check.