Great Britain was the country that fought Germany the longest during world war II and remained unoccupied to the end. France was another country that remained undefeated and fought Germany till the end of the World War II. I hope that this is the answer that you were looking for and the answer has actually come to your help.