So the issue here is that you assumed you could pay state taxes owed out of your federal tax refunds, you were wrong, and the trustee expects you to put the money back into your estate? That's not very surprising. I'm sorry that your lawyer gave you bad advice, and let's hope he works something out with the trustee.

