Might not be the HD...
If it only happens on shut-down, it could (easily) be mechanical resonance in the case (or other mechanical parts) as the HD (or fans) spin-down.
But when I put my ear next to the hard drive and turn of the computer the (speaker type) bell or buzz is loud enough to make my ears ring for a few secs. It sounds the loudest under the hard drive.