Police sealed off the Shell petrol garage on Woodbridge Road in Guildford early this morning following concerns that a man was threatening to harm himself.
Officers were called to the petrol station around 5.15am this morning.
Police negotiators, as well as ambulance and fire crews, were also in attendance.
The man was detained under the Mental Health Act.
The road, which was closed in both directions, has since been re-opened.