A cash-for-keys agreement is a voluntary agreement where the landlord offers compensation in exchange for the tenant agreeing to move out by a specific date.