Unmounts a previously mounted file system, directory, or file.
unmount { Directory | File | FileSystem }
The unmount command unmounts a previously mounted directory, file, or file system. Processing on the file system, directory, or file completes and it is unmounted.
To unmount local mounts you can specify the device, directory, file, or file system on which it is mounted.
unmount /home/user/test
This
unmounts the filesystem mounted at /home/user/test.