Deselect
Edit> Deselect
Shortcut Key:- Ctrl + D
If you don't want to remove the selection applied in the active layer, click Deselect so that no pixels will be selected.
If a tool is not working as expected, you may have a hidden selection. Use the Deselect command and try the tool again.