Simulated annealing is a meta-heuristic for optimization. Essentially it does hill-climbing with the possibility of jumping from one hill to another -- even if the jump is to a lower place on the second hill.
Such negative jumps are allowed less and less often as the "temperature" cools and the system settles into a solution. See this pseudo-code. The point of allowing the jumps is to enable the system to move from a hill leading to a local maximum to one leading to a global maximum.
My confusion concerns how the system keeps itself from jumping from a hill leading to a global maximum to one leading to only a local maximum.