If you have shared a OneDrive file and want to remove that sharing, the easiest way to do this is in the open file.