We don't keep a reference to the map as a global variable anywhere. If you want to interact with your map at runtime via your browser's dev tools, make your map variable global. This is why we make the map a global var in most of our samples.
As you found out, dojo.byId returns references to dom nodes. Dijit.byId returns references to dijits but esri.Map is not a dijit.