they had moved aside the rubbish , made a comfortable pallet for the injured man-and uncovered the large trapdoor installed in the floor , meant to be used by boats coming under the wharf at low tide , so that cargo could be handed directly up into the shed , rather than unloaded onto the dock .