unexpose
Unexposes a shadow copy that was exposed by using the expose command. Windows commands reference
On Windows
Windows
Unexposes a shadow copy that was exposed by using the expose command. The exposed shadow copy can be specified by its Shadow ID, drive letter, share, or mount point.
unexpose {<shadowID> | <drive:> | <share> | <mountpoint>}
To unexpose the shadow copy associated with drive P:\, type
unexpose P:Identify<shadowID>Displays the shadow copy specified by the given Shadow ID. You can use an existing alias or an environment variable in place of <shadowID>. Use the add command without parameters to see all existing aliases.<drive:>Displays the shadow copy associated with the specified drive letter (for example, drive P).<share>Displays the shadow copy associated with the specified share (for example, \\MachineName).<mountpoint>Displays the shadow copy associated with the specified mount point (for example, C:\shadowcopy\).addUsed without parameters will show you the existing aliases.