Original: When the German armies surrendered to the Allies in May 1945 and the German state ceased to exist, the Nazi Party, despite its 8.5 million nominal members and its nation-wide organisational structure, also ceased to exist.
Simplified: The NSDAP dissolved itself on 8 May 1945 and ceased to exist.