Added function to unmap a share