Simply restart Visual Studio, and it will get unstuck.
- It’s a bug in Visual Studio.
- Microsoft isn’t going to fix it.
- Microsoft isn’t going to release the source code so anyone else fix it.
- Microsoft isn’t going to even investigate the issue.
So we are where we are: you have to workaround their bugs.