Hitler himself had given up his leadership of the party during the duration of his imprisonment, telling people who came to see him that the grounds for his decision were that he was overworked writing a voluminous book.
It was Hitler who stepped down as party leader while in prison, explaining to those who visited him that he had reached a point of exhaustion from writing a lengthy manuscript.