She didn't.
She has, however, been consistently portrayed as an incompetent moron who would have been captured and executed for treason against the Empire if the crew of the Ghost hadn't rescued her, who would have led the Rebellion to failure if people hadn't defied her, and then led the New...