Disable File and Folder Sharing
When the sharing of a file or folder is disabled, the share link is removed, and the file or folder no longer appears in the Shared Files list. If you enable sharing for the same file and folder again, you'll get a new, different share link.
How to stop sharing files and folders
Updated June 16, 2022