What officially ended the World War 2?

lthe Canadian army killed all of the German soldiers and declared the winnig of the second world war