This just happened to me with about 2 gallons left of my Pliny clone.
I just sanitized a new keg really well, got out my huge carboy funnel (with nylon mesh screen) and then opened the top of the problem keg and poured the beer right in. I then sealed up the new keg and set it to 20 psi for 2...