You must be the owner of the shared file or folder to stop sharing it.

In iCloud Drive on iCloud.com, select the file or folder. Click , then do one of the following: Stop sharing with all participants: Click Share Options, then click Stop Sharing.

Stop sharing with just one participant: Hold the pointer over the person’s name, then click and choose Remove Access.

If you stop sharing or delete a shared folder, the participants can no longer view or edit the files in the folder.

To stop sharing a file in a shared folder without changing the folder settings, you can move the file to a folder you haven’t shared.