A part of speech of the underlined word is: 'Sit down and rest for a 'while'. I walked for a 'while'.