My mom's shunning behavior is not related to my lifestyle, but rather, to any though or word that exposes the ugliness of the wtbts to her. For example, sharing an article about the institutional response to child abuse in various religions and secular organizations, including hers. She threatened to cut me off unless I removed it from my Facebook. Because apparently if I did that, the world would never know! The dirty secrets would remain.
That is not the same as not hanging out with a friend who is doing things that are physically unpleasant to be around and who is frankly doing things that endangered himself and anyone unfortunate enough to be in his vicinity. I am so sorry your friend had the issues he did and that he disconnected himself from you, but you would have answered his call. JW leadership commend you for ignoring it.