agreement to terminate a tenancy