Reset Shell and Console Question

How do I reset my Shell and Console tabs?

I want to use cat ~/.bash_history > my-history.txt in the Shell to print my Console command history correctly. Currently, it is cutting off my first few commands.

You can reset the whole repl by running kill 1 in the shell, or you can close and Re-open the tab, which sometimes Re-starts it.