Leaving by contract