he dwelt at elaborate length upon the stain on his honor and that of his teacher and his family , which he would never be able to repair , and declared his intentions to somehow return home at the nearest opportunity , so that he might remove himself from the scene of failure .