Ah, walking around works. I eventually got caught.
But if you don't walk at all then you don't get killed.