Awhile is defined as to do something for a short time or briefly.(adverb)
Taking a nap is an example of resting awhile.
See awhile in Webster's New World College Dictionary
Origin: ME < OE ane hwile, a while
See awhile in American Heritage Dictionary 4
Learn more about awhile