Bach’s life was shaken by several confrontations and traumatic events that had important repercussions on his personal and professional development.
One of the first documented conflicts with authority occurred when he was just nine years old, following the loss of both of Bach’s parents, when his brother Johann Christoph confiscated a manuscript that Sebastian had copied behind his back. When this event is conceptualized in terms of recent research on coping with trauma and trauma recovery, it reveals Bach’s sense of vulnerability to authorities and the establishment of a lifelong approach to resolving conflict.
Patterns of action throughout Bach’s early career reveal efforts towards autonomy and independence through outward resolutions of conflicts with authority. When he was in Leipzig the authorities’ lack of enthusiasm for music made him consider departing from this prestigious position. His previous conflicts with authorities resulted in just such a departure; however, his decision to stay in Leipzig reflects a different mode of conflict resolution, one that involves inward reflection rather than assertive confrontation.
This according to “From Ohrdruf to Mühlhausen: A subversive reading of Bach’s relationship to authority” by Sara Botwinick (BACH: Journal of the Riemenschneider Bach Institute XXXV/2  pp. 1–59).
Above, Bach as he may have appeared in the Thomaskirche in Leipzig; below, the beautifully reflective Ich habe genug, BWV 82, from February 1727, four years into his Leipzig tenure.
Related article: Bach’s youthful indescretions