If IIS isn't shutdown cleanly, it might break the dependent services like World Wide Web publishing service (w3svc).
In that case, you can try the, below commands via DOS prompt:
# iisreset /stop
#iisreset /start
or
taskkill /F /FI "SERVICES eq w3svc"
Then do an IIS restart and it should be fine.
------
Thanks