In Patrick O'Brian's Master and Commander, during the encounter with the Cacafuego, Aubrey says the following to Ellis:
"Cut along to the galley. Tell the cook to put all his dirty pans and coppers upside down."
Is this a literal command, or some kind of nautical jargon? In either case, what is the purpose of it?