But if you have recently written data to the device, or if you unplug the device while writing data, you could end up corrupting it. Typically unplugging a USB device without ejecting it from the Windows taskbar first will do no harm. Unplugging a USB device, whether a USB flash drive or an external disk, without properly ejecting it can cause boot sector corruption. Is it necessary to eject a USB flash drive?