On the residual yield stress of shocked metals