Well, it's "Immobilized until you're not adjacent to it".
So you hit it hard enough that it can't move. Since you don't lose your weapon, assume you kneecap it, or, for ghosts and water elementals, disrupt it enough that it can't manage to move. If it tries to stagger away, you whack it again...