Originally a chest or coffer in which things were stored, including a box-like pen in which an animal was confined.