This is a strong word. We are not to get involved with people who don't believe in the literal, physical return of Jesus. We are not to say, "God bless you," to such people, or to invite them into our homes. Those who reject Jesus Christ, those who are not looking for Jesus Christ, those who have diminished the Person of Jesus Christ are to be shunned.
It's a good thing these strong words come from the pen of Johnfor if Paul had written them, this severe warning could simply be attributed to his forceful personality. But the fact that this warning comes from the "apostle of love" makes it all the more imperative.