Kamala Harris has vowed she would not “go quietly into the night” and would remain active in politics after losing the presidential election to Donald Trump.