Meaning of "Cabin"

The captain’s quarters. The enclosed space of decked-over small boat.

Cabin Meaning of