the town helped him rebuild his cabin , and even though it was miles from shore , he insisted on propping the whole thing up on twenty-foot stilts , muttering , `` lesson learned , lesson learned . ''