To make a shared USB device inaccessible remotely (and available locally), you should unshare it.
To unshare a device, switch to the Share local USB devices tab, select the device in the list and press Unshare.
To unshare all currently shared devices:
on Windows, select Share devices → Unshare all in the main menu:
on Linux, click Unshare all on the toolbar: