what did medieval archers do when they ran out of arrows?

by New-Backwood

How many arrows could an archer take with him to battle? after they ran out of arrows what did they do? did they just stand there? did they also carry another weapon?

voyeur324

/u/Jaaxter has an answer about English Longbowmen here.

​

A related answer by /u/Iphikrates is here, also answered by /u/Talothyn for the specific era (Battle of Crecy, 1346)