The wall is only in front of his house to block his view of his village. The rest of his imprisonment is by fence