Hi @mohammad eskandari,
When you stop sharing a file with a user, the file should be removed from their "Shared with me" folder. If the file remains in their folder, it may be due to a delay in the system updating or browser caching issues.
I tested and the document was removed when I deleted my browser cache or re-viewed it in private mode. So, try clearing your browser cache or re-checking it in your browser's privacy mode.
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.