Police have had to set up a rolling roadblock on a motorway when a cat became stuck 50ft (15m) up on a sign platform.
Officers were called to the incident on the M4 at Briton Ferry, near Neath, while the rescue took place.
The distressed tortoiseshell cat is thought to have been stranded on the platform for up to 24 hours.
The incident happened last week, but only came to light on Thursday when the RSPCA revealed details of what happened.
Officials from the charity have now thanked a man who used a crane lift to rescue the stranded pet - and reunite it with its owner. They said local scaffolder Hugh Norville called in a friend with the crane after deciding he would not be able to reach the animal.
An RSPCA spokesman said the cat was being watched by a number of people, including staff at a nearby Tesco garage.
He said: "There appeared to be no way out of the situation for the cat apart from retracing her route there and jumping back up across on to the M4, but of course heavy traffic during the day may have put her off.
"The RSPCA then called out the Mid and West Wales Fire and Rescue Service, who arrived to assess the situation but were unable to attempt a rescue right away due to various safety concerns.
"While the police executed a rolling roadblock, Mr Norville was then able to mount the cherrypicker and rescue the cat from the platform using some food as enticement.
"They do say that cats have nine lives and this one has certainly fully used up one of these in this daring adventure!"