Open Task Manager and see what's running in "Processes" before you try to shut down your machine. It could be Internet Explorer, your Antivirus, or some other process that's unwilling to let it shut down at the moment.
*** This is just an investigation on your part.