schandkeller
A Schandkeller, meaning "shame cellar" or "cell of shame" in German, was a form of punishment and public humiliation in medieval and early modern Europe. It was essentially a public display of wrongdoing where an individual was confined in a basement or cellar, often visible to passersby. The primary purpose was not physical punishment, but rather social degradation and deterrence.
The offender might be locked in the Schandkeller for a set period, ranging from a few hours
The practice was more prevalent in German-speaking regions and evolved from earlier forms of public penance.