If the defendant appeal from the conviction and be not removed on appeal, as provided in the next succeeding section, he shall be detained, according to the judgment of the circuit court, until the supreme court shall have decided his case, and the judgment thereof shall have been certified to the circuit court and the same fully executed.