Unless otherwise agreed to in writing by a lessor and farm tenant, a farm tenant may take any part of the aboveground part of a plant associated with a crop, at the time of harvest or after the harvest, until the farm tenancy terminates as provided in this chapter.