A biomechanical switch regulates the transition towards homeostasis in oesophageal epithelium