What is the meaning of うん?

yeah, uh-huh, mhm (an interjection expressing agreement)

strainingly, with a grunt

sufferingly, groaningly

added to various verbs to indicate forceful or excessive action

Source: wiktionary.org