Hello @Michael , Thanks for bringing this question to this forum, i too faced automatic connection of cloud shell when I start the cloud shell.
Troubleshooting steps:
Please click the Power button to reset your could session. To verify just run the ./deploy.ps1 command to check and you should see that the output window show error.
Now upload the deploy.ps1 file again and continue... as a fresh start.
Now provide the RG name, the script will create new RG is it's not present or will make use of existing RG.