You can use umount to remove Network File System (NFS)–mounted drives.


umount [-f] [{-a | DriveLetter:[...] | NetworkMount[...]}]


The umount command-line utility disconnects the specified NFS-mounted drive. You must supply at least one of the following options or arguments.

Forces deletion of Network File System (NFS) network drives.
Deletes all NFS network drives. If there are active connections, umount prompts you for confirmation unless you also use the -f option.
The letter of the logical drive to be disconnected.
The network mount point to be disconnected. This mount must have been created using the net use Windows command-line utility without specifying a drive letter.

See Also