Answer by taking a quote from the following article:

Erich Honecker (German: ['e:RIc 'honeka]; 25 August 1912 - 29 May 1994) was a German politician who, as the General Secretary of the Socialist Unity Party, led the German Democratic Republic (East Germany) from 1971 until the weeks preceding the fall of the Berlin Wall in 1989. From 1976 onward he was also the country's official head of state as chairman of the State Council following Willi Stoph's relinquishment of the post. Honecker's political career began in the 1930s when he became an official of the Communist Party of Germany, a position for which he was imprisoned during the Nazi era. Following World War II, he was freed and soon relaunched his political activities, founding the youth organisation the Free German Youth in 1946 and serving as the group's chairman until 1955.

In May 1945 Honecker was "picked up" by chance in Berlin by Hans Mahle and taken to the Ulbricht Group, a collective of exiled German communists that had returned from the Soviet Union to Germany after the end of the Nazi regime. Through Waldemar Schmidt, Honecker befriended Walter Ulbricht, who had not been aware of him at that point. Honecker's future role in the group was still undecided until well into the summer months, as he had yet to face a party process. This ended in a reprimand due to his "undisciplined conduct" in fleeing from prison at the start of the year, an action which was debated upon it jeopardizing the other (communist) inmates.  In 1946 he became the co-founder of the Free German Youth (FDJ), whose chairmanship he also undertook. After the formation of the SED, the Socialist Unity Party, in April 1946 through a merger of the KPD and SPD, Honecker swiftly became a leading party member and took his place in the party's Central Committee.  On 7 October 1949 the German Democratic Republic was formed with the adoption of a new constitution, establishing a political system similar to that of the Soviet Union. Within the state's socialistic single party government, Honecker determinedly resumed his political career and the following year was nominated as a candidate for the Politburo of the SED's Central Committee. As President of the Free German Youth movement, he organised the inaugural "Deutschlandtreffen der Jugend" in East Berlin in May 1950 and the 3rd World Festival of Youth and Students in 1951, although the latter was beset with organisational problems.  During the internal party unrest following the suppressed uprising of June 1953, Honecker sided with First Secretary Walter Ulbricht, despite the majority of the Politburo attempting to dispose Ulbricht in favour of Rudolf Herrnstadt. Honecker himself though faced questioning from party members about his inadequate qualifications for his position. On 27 May 1955 he handed the Presidency of the FDJ over to Karl Namokel, and departed for Moscow to study for two years at the School of the Soviet Communist Party at Ulbricht's request. During this period he witnessed the 20th Congress of the Soviet Communist Party in person, where its First Secretary Nikita Khrushchev denounced Joseph Stalin.  After returning to East Germany in 1958 Honecker became a fully-fledged member of the Politburo, taking over responsibility for military and security issues. As the Party Security Secretary he was the prime organiser of the building of the Berlin Wall in August 1961 and also a proponent of the "order to fire" along the Inner German border.

Did he get back into politics after that?
After returning to East Germany in 1958 Honecker became a fully-fledged member of the Politburo, taking over responsibility for military and security issues.