You entered the Global Search mode, but you noticed you got stuck in this Search mode and you were unable to exit it and return to the previous menu. This article explains why this may occur and how you can work around it.
You swiped down from the top of your screen to access the Global Search window.
Once in the Search mode, you could not find any button to exit so you can get to the previous menu.
This is usually because of the color settings you have used, meaning while the close button still exists, it is not visible as its color matches the background color for the UI bar.
You just need to Change the UI Navigation Bar Colour to ensure that the buttons are not hidden.
Note: The Global Search functionality is a standard part of the app and cannot get disabled.
You will be able to see the x button on the top right-hand corner and by tapping it you will exit the search mode.