Taking a nap is an example of resting awhile.
He lingered for awhile.
Sit with me awhile.
Maybe you should hold off awhile until your shoulder gets better.
"I might be gone awhile, Talia," she said.
"He'll be out of it for awhile," Xander said.
At last they reached a great forest, and, being quite tired, they decided to rest awhile and look for nuts before going any further.
It's been awhile, love.