ent_movepath(entity, null,0,0) should stop the entity, as it sets the speed to 0. At least that's what the function does - maybe there's another reason when yours didn't stop.