With the toolbar dialog open you can edit the native toolbars, so the most likely explanation is that you went to move the edit toolbar and simply dragged the move tool off.
When making a custom toolbar you need to hit ctrl as you drag a tool to another toolbar, this leaves the original in place and makes a copy for the custom toolbar. And as you see there is always reset if you pull one off by mistake.