The current naming of the Hide Collection operator is counterintuitive. Hide collection implies that it hides the selected collection, but it hides all the collections that are not selected. Pull Request: https://projects.blender.org/blender/blender/pulls/129682