Thank you for reaching out to Microsoft Q & A Platform .
Unfortunately , I don't think there is a way to disable the service ,
If we try to tweak into it and disable the service from the VM -->This operation will actually start other kinds of VM restart timeouts/issues etc .
Suggested approach is , If you don't need the service please go ahead and uninstall it .
And if you want it at a later point just re install it using :
Set-AzVMExtension -Name AMAWindows -ExtensionType AzureMonitorWindowsAgent -Publisher Microsoft.Azure.Monitor -ResourceGroupName <resource-group-name> -VMName <virtual-machine-name> -Location <location> -TypeHandlerVersion 1.0
Hope this helps , And request you to accept the answer if it helps .
Thanks & Regards,
Pradeep