Closing the Finder window is not enough to stop the [SMB][1] session. You need to eject the SMB share in the same way you eject external drives or a CD/DVD, that is, **select the SMB share icon on the desktop and press <kbd>⌘</kbd><kbd>E</kbd>.**

Alternatively, you can right-click the SMB share icon and select *Eject <server name>*:

 [![enter image description here][2]][2]

or, in a Finder window, press the eject button next to the server name:

[![enter image description here][3]][3]


  [1]: https://en.wikipedia.org/wiki/Server_Message_Block
  [2]: https://i.sstatic.net/ChLL7.png
  [3]: https://i.sstatic.net/841VN.png