He retired into a cloister, a monastery. Almost all monasteries have a cloister or covered walk, which generally occupied three sides of a quadrangle.
See a map of "" in the Visual Thesaurus