If a computer is shut down, doesn't it perform the similar "eject" command during the shut down routine?
Once it is off, the drive is already "ejected" and would be identical to unmounting it manually in the OS and then unplugging it.
In the case of sleep though, it will be more proper to wake and eject.
Btw unmounting errors are not serious enough to wipe a whole drive, it just means it may become less compatible with more sensitive devices -and this lasts only until it is properly remounted and unmounted again.
It's not that serious.