Any person sentenced to imprisonment in said jail or to work on said work gang by said recorder's court and who escapes therefrom shall be subject to punishment by said recorder's court equal in degree to all or any part of the sentence under which said person was serving at the time of such escape.