Just click the flag, and he will go and hide. You'll have to click him again to find him.
The cat will get less easy to spot the more times you find him.