I am a Mormon and cutting off contact and shunning someone is definitely an outlier. That is not what we believe nor teach. In fact in the most recent worldwide training (called General Conference which happens every 6 months) there were two trainings, or talks given about reaching out to and supporting those who had left the church. Believing in Jesus Christ means we try and act like Him. And it is clear what he would do. “What man of you, having an hundred sheep, if he lose one of them, doth not leave the ninety and nine in the wilderness, and go after that which is lost, until he find it?” (Luke 15:4). Of course individual actions and reactions will vary and shunning and ostracizing might unfortunately happen a lot, but that is not at all what the Church teaches or hopes for.
That's basically their entire lives—with that much at stake, it's no wonder people just pretend. And (most) Mormons aren't nearly as orthodox as Hassidim (anecdotally it seems the friends and family cutting off contact thing is mostly Utah Mormons—places where the Mormon population is lower don't appear to have as many of those types of issues, though there are definitely outliers in both cases)
From what I've heard, Jehovah's Witnesses also have a very hard time—even family members are encouraged to shun a person who has been disfellowshipped.
Peer pressure can really suck.