I’m not advocating waiting until the last moment, but sometimes it happens. Trains between Gdańsk and Marbork (for the Marbork Castle) run sporadically throughout the day, so if you can catch one, you may get avoid a lengthy delay until the next comes along.
We’d left the castle, and wanted to get back to Gdańsk. I saw that the next train was in less than 20 minutes, and couldn’t get a cab, so tried to get to the station on foot. I can’t walk fast, and was pretty sure this was pointless, and we wouldn’t get to the station in time. My husband at least helped ensure we went the right way.
Well, we got to it 5 minutes before that train to Gdańsk was scheduled to depart. It hadn’t arrived yet, but the official train PKP app wouldn’t sell me a ticket. So I got in line for the ticket window, to buy tickets there.
At the window with 3 minutes to go, the woman there said (with awful feedback coming through her microphone speaker), “Two minutes, no.” She refused to, or maybe just couldn’t sell us tickets. The platform was less than a two minute walk from the window, but I don’t know if she doubted we could reach it in time, or if the computer just wouldn’t allow her to ring them up. Couldn’t get an answer.
Ironically, the train was 3 minutes late, but getting to the station with just moments to go didn’t work.