Then run diskutil to get the current list of devices, close it, plug in your USB, and run diskutil again. Note down the device node assigned to the USB (e.g./dev/disk2).
Then unmount it: diskutil unmountDisk /dev/disk2
Then enter the command: