A man in his 30s is assisting police with inquiries after a pursuit through Mandurah and Coodanup on Saturday night.
Just after 8.10pm on July 11, a 17-year-old pizza delivery driver was parked at an address on Boundary Road in Dudley Park.
The driver told police he delivered his pizza and returned to his vehicle when he was threatened by a man with a bladed weapon.
It is alleged the man demanded the vehicle keys.
Police located the vehicle driving in Mandurah on Crawford Street and attempted to stop the vehicle but then aborted the pursuit.
Police Airwing then located the vehicle a short time later driving in Coodanup.
The man abandoned the vehicle, which had extensive damage, on Adair Road in Coodanup.
Police allege he ran over several rooftops before climbing a tree, where he remained for six hours.
Police say he then climbed down a ladder to waiting police and was conveyed to hospital for a medical check-up due to the low overnight temperatures.
The man is assisting police with their inquiries.