The unrest of the dogs had been increasing, and they stampeded, in a surge of sudden fear, to the near side of the fire, cringing and crawling about the legs of the men.

Based on the context of the sentence, what is a surge?
A running pace or gait
A significant feeling
An automatic response
An upswelling or rapid increase