our boat was equipped with a removable cockpit table, and it was stored in the head, flat against the bulkhead with some nice homemade wood retainers, kinda like mirror clips.... you set the table in its chocks, and hold it against the wall, then turn the clips to keep it there...
I have since re-mounted the cockpit table to the pedestal as it originally was from the factory...