What are the rugulations in turning around on a one way street?

I was on a one way street and there is no out road to turn around so you have to turn around on the same street and go the wrong way down a one way. I got a ticket for it ,but there is no other road to go on because the gate is closed .
5 answers 5