The automatic climb stops when the drivetrain is stalled, which happens both at the beginning and at the end of the climb.