My Macbook Pro often hangs up at shutdown - what should I do?
Often, hard drives that won't unmount, or network shares that can't unmount will prevent your system from shutting down completely. 

Right before you shutdown, check the contents of /Volumes and see if there is anything unexpected in there.