Unable to disable commands located in XXXToolbars

I can successfully remove/reset commands that are present in menu pulldowns using disable commands documentation.

I noticed that this does not remove counterpart commands from xxxToolbars such as ‘Tabbed compact’ and the like. Is this currently available via UNO API ?

If they do not disable in some modes, it’s a bug. There should be no separate API for that.

Reported as a bug