Opening for closing an opening in a boat cabin, consisting of at least two movable leaves in translation between a closed position and an open position, a first of said leaves, called the master leaf, having means for locking its position relative to the frame of the opening, in its closed position, these locking means being actuable by a user, the second of said leaves, called the slave leaf, having means for locking its position relative to the frame of said opening, these locking means not being actuable by a user, the master leaf having actuating means allowing the sliding movement of the master leaf in front of the slave leaf, from its open position to its closed position, to simultaneously cause: the unlocking of the locking means of the position of the slave leaf relative to the frame of said opening,and the joining of the slave leaf and the master leaf.