Electronmagnetohydrodynamic response of a plasma to an external current pulse