When I press the key combination ctrl + shift + f
an additional search box opens in WebStorm, but I don't understand how to close it then
The window is kept open because it is pinned. Click the highlighted "pin" button in the very top right, and then click anywhere outside of the window to close it.