sub-tools have their own undo history, is it possible somehow to undo deletion of a sub-tool?
you simply can’t.