You didn't say whether it hangs on shutdown or restarts instead of shutting down. In any event this may help click here
If it is the "restarting" problem, a workaround is to log off, then shut down.
Surface Pro 5 News - release date, UK price, features, specs
Gear VR vs. Daydream: Which delivers the best VR experience?
iPad Pro 12.9 vs Surface Pro 5
Synology invites you to visit them at Insomnia on 26th – 29th August. Book your tickets now and visit Synology.