Green’s Dictionary of Slang

shop n.2

[mid–late 19C] the mouth.

In exclamations

shut your shop! (excl.)

[mid–late 19C] be quiet!