Mellorine, the anthro cat found out about Moonfang's plans to take the treasure.  He stealthly follows the wolf up the beanstalk.  When he gets up there, the cat sees a dog that could easily swallow him whole.  While it's occupied with pleasing itself, Mellorine tries to avoid being seen, so he keeps following Moonfang.  To hide from the wolf, Mellorine dives into the pond.  He's safe for the time being.