To substitute one punishment in the place of another. For example, if a man be sentenced to be hung, the executive may, in some states, commute his punishment to that of imprisonment.
COMMUTE
TheLaw.com Law Dictionary & Black's Law Dictionary 2nd Ed.