What is the meaning of [Getting a second wind]

Meaning: Having energy again after being tired or worn out