Un isolate things only which were there visible before isolation

hi , is there a way in blender where, in a scene with number of collections, few are off from the outliner , so we will have few objects in a scene working , then if i wanna isolate them i can do that with shift + H , to unisolate alt +H here brings back everything , instead is there any option which will bring back only the visible collections which we were there working before isolating

That’s what Local View is for.

Note this warning that is even in the manual:


Accidentally pressing NumpadSlash can happen rather often if you are new to Blender, so if a bunch of the objects in your scene seem to have mysteriously vanished, try turning off local view.