search for the user – correct reason to select while being able to search

Location: We have a list of items that can be multi-selected. However, we can also have a search field that allows us to filter the list.

Problem: Let's say I have a huge list of items. I selected several items on the first page of an array, then entered a new query into a search field, selected several other items, and then deleted the query. I see again a complete list, however, I do not know what I have selected.

1) I select several elements on a first page of table;
2) I am looking for several elements on, say, the 5th page of the table;
3) I delete the search query

Question: How to properly inform a user of what he has selected? Have you ever seen a search pattern + similar selection?

enter the description of the image here