I have a remote Windows 10 computer that serves as host for Linux (Debian 9) running as guest inside VirtualBox. The VM runs in Network Bridged Mode, so both OSes have local IP addresses and can "see" each other. I have access to the guest Linux (which is part of a VPN) via SSH from my local machine. From the guest I can also access the host's command prompt/bash/powershell via SSH server (which is built into Windows 10). Sometimes I need to be able to access an attached USB device from both OSes. It doesn't have to be simultaneously - one after the other is OK.
It is trivial to switch an attached USB device between host and guest via VirtualBox GUI (Devices -> USB Devices). But is there a way to do so from the command line - either from host or from guest or, even better, from both?