You can run internal commands from outside of Opus using DOpusRT.exe /cmd or /acmd followed by the command you want to run. That can be used to run the Toolbar command to toggle a toolbar on and off.
(Personally, I do this via a system-wide hotkey created in Opus instead, so I can toggle the toolbar any time I want.)