From the Shared view in OneDrive:
-
To remove an item shared with you by others, select the files or folders you want to remove and select Remove from shared list (at the top).
-
To remove an item you've shared with others, you can manage their access using permissions.