If before the granting of the certificate, the execution of the judgment has commenced, the further execution thereof is suspended, and upon service of a copy of such certificate the defendant must be restored, by the officer in whose custody he is, to his original custody.