Refugees from Ukraine can now use around 40 international long-distance trains to travel to Germany from Poland, Austria and the Czech Republic. All you have to do is show your passport. It applies to long-distance and local journeys to any destination throughout Germany, but also to journeys on the ICE, TGV or Thalys trains to Denmark, Belgium, France and trains to Austria, Luxembourg, the Netherlands, Switzerland and in Eurocity trains to Italy via the Brenner. Pets are allowed with no papers.
I know it doesn't help you now. But maybe others don't know. Europe is welcoming all of you pass the borders!
RE: My Wartime Diary. Seventh day of Russia's invasion of Ukraine. Live update from Kyiv