The poet does not literally claim that the fog is like a cat, but he employs a cat metaphor to make a point. The fog begins gently and quietly, like a cat. The cat then rests on its haunches and looks about. Finally, it flees like a cat. The poet has said something about the fog by saying that it is like a cat.