By May 1940 , they were trapped in Amsterdam by the German occupation of the Netherlands .
By the beginning of 1940 , because of the Nazi occupation of the Netherlands , they were trapped in Amsterdam .