In most jurisdictions, tenants can pay "rent into escrow", but it is usually better to have an attorney handle, you pay rent to the attorney, he places it into an escrow account, notifies the landlord that he has the rent. This is one way to handle it to show you are not shirking the rent.
If you prefer not to have an attorney involved, the other way is just to hold on to the rent check, and when you go to the court hearing, you tell the judge that the July rent was refused by the landlord. I don't see the point in this, since you cannot be put out onto the street without a court hearing anyway, so all you do is take this returned rent check along with any other correspondence with it to court.



