I don't think you can defeat it; leading it off the map just leads to it respawning again. It goes away when daytime comes so I think it's meant to be more of an obstacle.