Thanks for the hint.
Just booted Ubuntu, and it shuts down without any problem.
Also loaded Windows 10, added all most recent drivers and the problem persists. On one occasion I saw a BSOD while it was trying to shut down, that made reference to DRIVER_POWER_STATE_FAILURE. I looked into it and...