Electron acceleration by a propagating short ultra-intense laser pulse in a low-density plasma has been investigated. Electrons have the maximum energy when meeting the peak of the laser pulse. If a propagating laser pulse is abruptly stopped by a so