Rush hour trains were delayed for about an hour on Monday morning after a swan was spotted on the railway line.
The bird was found on the tracks in Staines, Surrey, at about 8am, stopping trains through the area towards Ascot in Berkshire.
South Western Railway's Twitter account joked that "our very own Sgt Angel" dealt with the swan - a reference to the 2007 police comedy Hot Fuzz.
The film has a scene where Simon Pegg's character Nicholas Angel and his partner chase an escaped swan through the town.
Network Rail's Wessex route posted an image on its Twitter account showing the animal being carried in a bag.
"If you swan around on the railway, you get The Bag," it said.
Some affected passengers in Staines were not amused, with one tweeting: "Stuck on bridge between Staines and Egham because 'a swan is sitting on train tracks'... 50 minutes now passed. Can someone come and move the bird."
Read more from Sky News:
Train firm rolls out device to tackle delays caused by 'leaves on track'
Dry ice pellets to blast leaves off train tracks to help cut delays
Crushed leaves thought to have caused train crash were not cleared because of engineering works