It wasn't terminated because of WWII, it was terminated because it was determined it was "no longer needed". Nobody in their right mind would have though WWII would continue in perpetuity.
>Unemployment ended with war production for World War II, as millions of men joined the services, and cost-plus contracts made it attractive for companies to hire unemployed men and train them.[19][page needed][31]
>Concluding that a national relief program was no longer needed, Roosevelt directed the Federal Works Administrator to end the WPA in a letter December 4, 1942. "Seven years ago I was convinced that providing useful work is superior to any and every kind of dole. Experience had amply justified this policy,"