The end goal is the cessation of the war, but the fighting contenues untill a cesefire or peace treaty is negotiated and signed, and the war contenues untill said treaty is signed. A sad truth of war is while diplomats are haggling over words on a page the fighting still contues, the war ends when the negotiations end.