Were Age of Sail guns moved aside so crews could sleep on the gun deck?
Short answerNo. Sailors slept around the guns, and temporary cabins were dismantled when the ship cleared for action.
NotesHeavy naval guns were not casually rolled aside each night; an unsecured gun could kill sailors even in normal ship motion. Ratings slung hammocks around and above the battery, while officers' temporary cabins could incorporate a gun within their partitions. When action approached, screens, furniture, and possessions were struck below so the full gun deck became available. That transformation is the practical meaning of clearing for action: domestic space disappeared and the battery resumed priority.