Bucharest became the capital again when Imperial Germany was defeated .
The capital was returned to Bucharest after the defeat of Imperial Germany and its allies in November 1918 .