If you accept rent from the tenant during an eviction action for non-payment of rent, you lose the eviction action. In that situation, you should enter into a written settlement agreement with the tenant prior to accepting rent, and once the court approves your settlement agreement, accept rent from the tenant pursuant to the agreement.