Do as little work as possible. You don't owe these cretins anything. THEY didn't hire you, and YOU didn't ask for them to take over. Make them lay you off and pay to do so. All they understand is money, so the more you cost them, the better.
This is the best possible advice. Stay and milk this cow until they pay you to stop. Make sure not to do them any favors.