It didn't need the National Guard to restore peace. It just needed Trump to call off the rioters that he'd stoked to violence with lies about the election being stolen. He didn't do that for three hours during the insurrection, by which time five people had been killed.
It wouldn't have happened if Pelosi had taken that precaution, but she refused it. Why did she refuse it?