Burn it?
If you can get the flame of a propane torch to it, perhaps you can get it to dry/burn/deteriorate just enough to allow the ram to move more freely so you can get it to come out like usual.
Use a hook to shred/pull it?
I don't know how much room is in there, but can you get a tool like...