Complex sentence: Passenger trains used to stop in Rakvere, but due to lack of passengers the service was suspended for a few years while only cargo trains stopped there and the railroad station was abandoned.
Split into simpler sentences: Passenger trains used to stop in Rakvere, but due to lack of passengers the trains no longer stopped there. For a few years only cargo trains stopped there and the railroad station was abandoned.