The way you escape the monster is by running into the nearest room the monster isn't in. The monster despawns when the room it is in despawns.
But where IS the monster
Sometimes it spawns and it makes some rooms dark. It's a little hard to see in the web version because for some reason it's way darker than the downloadable version.