Part brass rags with (one) old-fashioned verb phrase
To end or break off a relationship with someone because of an argument or dispute.
He parted brass rags with his best friend just because of a small misunderstanding.
Being disrespected several times is the reason why I decided to part brass rags with that guy.
The verb "part" should be conjugated according to its tense.
The expression originated in the British Royal Navy in the 19th century. Naval officers were obsessed with keeping everything clean and polished, particularly the brasswork. It was traditional for sailors to do such duty in pairs, and along with a bag of cleaning tools and rags, you shared with your mate a bond of friendship. If the two quarreled, each man will find a new cleaning buddy, and the shared bag of brass cleaning rags, etc., would be divided between the former friends.
Once something has been done, you can do nothing but face the consequences.
I know you regret cheating on your test but you can't unring a bell.