Unfortunately that did happen to me in a divorce.
My first purchase was a Ruger MKIII. Then a 10/22 carbine, which I have upgraded with a match barrel, thumbhole stock, and KIDD two stage trigger. It is now a tackdriver extraordinaire. Then I bought a replacement for the French 8mm Lebel Birthier MLE-16 rifle I had. Then an 1851 Navy BP revolver replica. The only gun I got to keep, because I had it locked away, is my Taurus PT-145 carry gun. I also had to replace my reloading press (LEE Turret) and dies.
The guns I lost when the ex-wife sold them before the divorce went to court was:
.460 S&W 8 1/2" barrel revolver
French MLE-16 rifle
Taurus Judge revolver
Glock (I think 17) .40 S&W - that was actually hers
Stag Arms AR-15
Remmington Model Seven .300RSAUM rifle
Baretta NEOS .22 pistol
Taurus PT-92
Argentine Mauser rifle in original 7.62 mm ARG caliber
Ruger P345
Oh...almost forgot the Yugo SKS.
I had to leave them in her custody when I was deployed to Iraq. She sold them all + safe + about 4,000 rounds of various ammo for $4,000.
Are you crying yet? It came up in the divorce, but the judge didn't do anything about it.