Troubleshooting Mac OS X Hang on Shutdown

My MacBook Pro was not shutting down properly, and it took a fair amount of time to locate the cause of the problem. Google search results for “Mac OS X hangs on shutdown” were abundant, but none of the suggested resolutions fixed the problem my system was...