A man died following an emergency at Poole railway station.