Rat on verb
– To give information (as to the authorities) about another's improper or unlawful activities.
Leave in the lurch
and rat on
are semantically related. Sometimes you can replace phrase "Leave in the lurch" with "Rat on", this terms are similar.