That was the nature of the stocks, the person would be left in them for a set period of time (including overnight) but unfortunately this sometimes led to the person being raped from behind because he/she could not stop the assailant or even see them. I too would make the punishments public but with proper security