Hi @Mirza Zain,
Welcome to Microsoft Q&A!
It seems be a known issue with Visual Studio Code, you can see the similar issue:
VS Code was lost on shutdown with pending update · Issue #52855 · microsoft/vscode
It could be resolved by reinstalling VS Code. You can have a try.
If it doesn’t work, I recommend you report it in dedicated GitHub-vscode forum where you would get support for this product. Thanks for your understanding.
Sincerely,
Anna
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment". Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.