It's complicated. I betrayed my best friend by turning him in to the elders. Twice. The second time resulted in his being disfellowshipped.
Thankfully he didn't hold it against me because he knew I was coming from a good place and that I was deeply conflicted about how to proceed. We've both been out of the JWs for a while now and our friendship is still strong 10+ years later.
I remember being completely conflicted about how to proceed. At the time I felt I was in a position of having to either betray God or my best friend. The indoctrination compelled me to behave in a way that I would never have acted otherwise. The few weeks leading up to when I finally turned him in were horrible. I think I lost something like 20 pounds in five weeks worrying myself sick over the situation.