Have you tried closing all applicatoins you can before shutting down? If that works then somthing you have running is hanging at shutdown. If it dosn't, try crtl + alt + delete and close everything apart from systray and explore. Shut down and see what happens.
If either fixes the problem you've got the lo9ng process of shutting down one application at a time then restarting to find the culprit.