You can stop Samba Message Server using following methods:
Stop Samba Message Server by Windows Task manager
Under Windows Task manager select the samba Message Server and select end task one by one.
The Other method I use is:
Using the Mouse Move the Samba Message Server (B) error box to unhide the Samba Message Server Port settings box.
Click Continue (C) and then Untick Start Server Automatically.
You can also refer to below guide.