2017 iMac Windows 10 on BootCamp 6.1 wont shutdown I have a brand new 2017 iMac on which installed windows 10 Pro. I installed the Bootcamp support software and for the most part the system works fine. Except for one annoying issue - I cant shutdown or hibernate the system it will only restart. I have done as much research i could and FWIW - 


Fast startup on windows 10 power settings is disabled.
Installed and reinstalled Bootcamp windows 10 support software.
Don't know if this is an issue the Intel Management engine.


At this point i am going to have to remove windows 10 and make do with windows 7 unless someone can help me with this problem. I am worries i have restarted so many time already it may damage the SSD or some other component of my shiny new iMac. Please help. Desperate!!!
iMac with bootcamp windows 10 reboots 3 seconds after shutdown (no fastboot, no wol)

I couldn't find a software fix but if you have any type of device or even a hub that supports USB PD connected to thunderbolt 3 port simply removing it while shutting down resolved my issue

by your description I couldn't tell if your issue is same as mine so do check what is connected to tb port