if you are trying to unmount a usb device such as an external drive for example, you can do it with these two commands:

cd /

the cd / just makes ure you are at the root of the file system and not in the mounted, then execute this shell command:

umount /mounted/directory/

*NOTE: /mounted/directory/ is just whatever directory you mounted you usb device into