I thought Shift+Alt+G (Remove Selected from Active Collection) was just a change to a collection.
I read the official manual and understood it.
But in fact, the way this function works in the blender is not only removing the selected objects from the collection to which the active object belong, but also the active object.
Please check the GIF.
What do I misunderstand?
The result I expected was as follows.