PC ''not responding'' after right click on drive

I’m using TrueNas Scale and I added a network drive to my Windows 11 PC. Now if I do a right click on the drive my PC is ‘‘not responding’’ so I can’t get rid of it. What’s the problem

You provided almost no details but it sounds like a Windoze problem. Did you reboot? That helps more than you know.

It sounds like you are saying that the drive is still mapped but not responding.

On TrueNAS, try to disable SMB, Reboot Windows, see what happens.

Finally I succeeded to dismount the drive. I tried rebooting it doesn’t help. Now I enter the IP manually to acces the drive.