Is it ensure, insure, or assure?
Old English cote, fem. of cot (plural cotu) "small house, bedchamber, den" (see cottage). Applied to buildings for animals from early 15c.
pens or enclosures for flocks (2 Chr. 32:28, "cotes for flocks;" R.V., "flocks in folds").