If you want to inhibit the device from entering USB mode, just hold down a key as you plug in the cord.
You can't have it present itself as a flash drive and still be able to use it at the same time; the USB driver needs exclusive access to the disk.