It depends WHY the sectors went bad. Head crashes are a common cause, usually because of physical shocks.
Almost ALL hard drives have bad sectors, even when brand new! Suprised eh?!!
The firmware in the drive remaps these bad sectors and uses 'spare' capacity on the platters to re-create good sectors to replace them.
Of course this has it's limits. Western digital drives come with software (wddiag) that allows freshly developed bad sectors to be remapped to clean areas. This will allowupto 100 sectors to be re-created on unused areas of the drive. More than 100 bad sectors though, and the drive is history!
Just last thursday, my boss knocked a computer off a desk and it hit the deck with a hell of a smack. Removing the drive an putting it on the test bench and running wddiag resulted in 127 bad sectors, where the heads had slewed across the platters. The drive is unrepairable! If it had been, say, 90 dead sectors....the drive could have been repaired by wddiag! I have used this method on Seagate, Quantum and Maxtor drives with no recurring problems. Most hard drives have an area of EEPROM on the controller card which stores these defectiv sectors and their re-map table.
The last thing that happens when you shut down a computer is that several registry entries are written to the hard disk, including the key for clean shutdown. If this key is NOT written, that's how Windows knows your machine wasn't shut down properly and runs scandisk. It is good practice to shut down properly, but you won't actually 'damage' your physical disks....the worst that can happen is that data can get corrupted.