Marilla tries to prevent Anne from seeing Gilbert because of an old war between the Cuthberts and the Blythes. In the end, however, when Matthew dies and Marilla is forced to sell Green Gables, Gilbert gives up a teaching post in the town so that Anne can stay at Green Gables and continue to support Marilla.