Hi @ An1gupta
Thanks for the Question and using Microsoft Q&A platform
Sometimes, long-running transactions can cause the server to get stuck in a restarting state. You can check for any long-running transactions and try to terminate them if possible
If it is an intermittent issue, it can get fixed by own
Please refer to the below similar "Accepted thread" that might help you:
Hope this helps. Do let us know if you any further queries If this answers your query, do click Accept Answer
and Yes
for was this answer helpful. And, if you have any further query do let us know.