To stop sharing your file or folder after you invited someone to share or gave them direct access, you can remove the sharing link.
-
Right-click the item you want to stop sharing and select Details > Manage access. (Where are my shared files?)
-
To the right of the link, select the X to remove the link, then confirm you want to permanently delete the link.