Does an Adverb Modify Everything That Follows It?

"Adverbs modify things, but in the following sentence is "quickly" modifying "ran and hid" or just "ran"?..
You must login or register before you view this content.