The 38-year-old had already announced this would be his final season and after suffering a series of niggling injuries in the county championship summer, he may skip the final game against Sussex next week.
"I wanted to go out in style today - and that proved to me I am ready to retire, I am absolutely shattered now," said Gough after Yorkshire's drawn clash with title-chasing Somerset at Scarborough.
"I bowled as quick as I have for a long, long time in my first spell. I had the opposition saying that is the quickest they have faced all season and when they say stuff like that, I'd like to finish on that note.
"When I look back I'm glad my last wicket was Justin Langer. I've had some great battles against him and it's nice to know my last wicket in Yorkshire was someone as good as him."
Gough will decide over the next few days whether he is fit to play at Sussex.
"I will see how I rock up on Monday morning and how the other bowlers are," he said.