Answer:
Germany signed the armistice of 1918, also known as the Armistice of Compiègne, on November 11, 1918, to bring an end to fighting in World War I. The armistice was not a surrender, but rather a temporary cessation of hostilities while the terms of a peace treaty were negotiated. The armistice did not require Germany to admit defeat or to accept blame for the war, but it did require Germany to evacuate occupied territories and to disarm its military.
The armistice was signed by representatives of the German government and the Allied powers, which included France, Great Britain, and the United States. It brought an end to four years of devastating fighting, but it did not bring a lasting peace. The terms of the armistice were later formalized in the Treaty of Versailles, which was signed in 1919.
The armistice of 1918 was not signed in order for Germany to regroup and attack again, but rather as a temporary measure to allow for negotiations on a more permanent peace settlement.