Impossible to say, unless you have any information from McAfee or Miceosoft logs to make that connection.
Since it's a Microsoft update that's failing I suggest you look in the relevant logs, or ask on the Microsoft forums for assistance.
Try these, in sequence :
I doubt it's McAfee, more likely Power Options or a bad connection perhaps?
Any clues in Event Viewer around the time of the shut-down?
There is no need to switch off automatic updates, however you can tell Windows to warn you that they need to be downloaded and installed before allowing it to happen.