If it's a thumbdrive or external hard disk, I doubt this ever
works.
Just left click, Safely Remove Hardware. When it says the
thumbdrive/hard disk can be safely remove, just unplug it.
For CD/DVD drives, right click on the CD/DVD drive, select
Eject.