A man who received the statutory maximum of two years imprisonment after violating the terms of his supervised release lost his appeal to undo the sentence Thursday.