diff --git a/apps/files_sharing/lib/sharedmount.php b/apps/files_sharing/lib/sharedmount.php
index f761f1b7bae154cc7a44b7220e9e675ecd2b50c3..f1704504f6437b1ccfe33858e76280a0cee0102d 100644
--- a/apps/files_sharing/lib/sharedmount.php
+++ b/apps/files_sharing/lib/sharedmount.php
@@ -105,9 +105,12 @@ class SharedMount extends Mount implements MoveableMount {
 	/**
 	 * Remove the mount points
 	 *
-	 * @return mixed
 	 * @return bool
 	 */
 	public function removeMount() {
+		$storage = $this->getStorage();
+		$result =  \OCP\Share::unshareFromSelf($storage->getItemType(), $storage->getMountPoint());
+
+		return $result;
 	}
 }