Disconnecting a storage device without ejecting it can leave unwritten data in the drive's write cache, causing a loss of data. It can also prevent the operating system from closing file handles, which can lead to corruption of data and the filesystem on the drive.