I don’t know if this is easy to do, or in the proper spirit of the thing, but would it be possible for ApplicationCommandManager to have a clearCommandsInCategory() method.
One section of my application has a dynamic command list, and to allow this command list to update during the lifetime of the application, I either need to clear all available commands and rebuild them when the dynamic command list updates, or spin the dynamic list off into another commandManager.