Most excellent question. Based on the information you provided the corrective training could have been a violation of the standards for conducting corrective training.
Doctrine tells us
a.Must not be used as punishment or appear to be punishment
b.Must relate directly to the observed deficiency
c.Must specifically address the observed deficiency
d.Must be discontinued once the deficiency is corrected
e.Must not be used in place of UCMJ punishment
Experience shows
a.Must provide proper resources to complete the training
b.Must be conducted in a safe environment
c.Must not be ridiculous in nature
Being made to stand in front of the TOC could be perceived as punishment- Now keep in mind I do not have the whole story.