Yeah and the taxi will cost more than the rest of your trip - ha ha haaa :pSeriously, I'd be checking the last time timetable and making sure I get on it. Otherwise a few hours sleep in the park and catch the first train in the morning.
Really, you don't wanna do this - unless you have money for taxis.