How to reproduce:
1. Create a new Unity project
2. Add a Cube GameObject to the Scene
3. Open the Search window with Ctrl+K
4. Open the Search settings menu
5. Uncheck the “Keep Open” setting
6. Search for the Cube in the search field
7. Select the Cube GameObject in the menu and hit Enter
8. Observe the Search Menu
Actual result: The Search Menu stays open
Expected result: The Search Menu closes
Reproducible with: 6000.3.0a2, 6000.3.1f1, 6000.4.0b1, 6000.5.0a3
Not reproducible with: 2023.1.0a1, 6000.0.64f1, 6000.2.15f1, 6000.3.0a1
Reproducible on: Windows 11, macOS 26.1 (M3)
Not reproducible on: No other environments tested