Hello Melai Njimbong
Thanks for reaching out on Microsoft Q&A Platform.
Based on the details shared, your VM is stuck in a restarting state and is not ready.
Try connecting to the VM using the serial console to troubleshoot the issue further. Once you're connected to the VM using the serial console, you can check the logs to see if there are any errors or issues that are preventing the VM from starting up properly. You can also try restarting the VM from the command line using the sudo reboot
command.
You can restart an Azure VM from the Azure Cloud Shell using the Azure CLI or PowerShell and see if that helps.
If you're still having issues, you may need to contact Azure support for further assistance.
Hope that helps.