Hotkeys 1,2,3 in Object Mode
Search for the keymap

Go to Edit &gt; Preferences &gt; Keymaps and search for any keymap using 1
Will notice that in object mode it is set to hide  collection.
See How to show collections in blender 2.8