Transition from thermally assisted to mechanically driven boundary migration and related apparent activation energies