I installed a new PC and am now experiencing this "auto shutdown while playing audio" bug.
The only useful info I can provide is that during the shutdown, while still playing audio from a program, I triggered a windows system sound - and icue registered that as 'active audio' and stopped the shut down.