Limits to adaptation

The coffee plant is sensitive to temperature. Adaptation to global warming implies moving the plants to higher altitudes. But what happens if there is no higher ground?