Sure electricity gets exported a lot and Germany is a large exporter of electricity. That's a European market now. That's what we (the EU) have been doing for decades now: EU wide markets instead of country markets (or smaller). That's also a large building block fir a new electricity landscape: EU wide connected grids, in many places with high-capacity HVDC lines.
Germany was not 'panic closing' nuclear. The nuclear exit was hotly debated for decades and decided long before Fukushima.
Germany was doing a lot more than just closing 'some' of its nuclear reactors and setting a timeline for closing the rest.
Germany also removed the centralized monopoly business model around the big nuclear&coal-based electricity companies. The electricity production was in the hand of four large companies who had divided Germany into four monopolistic regions. These large companies had zero intention investing into renewable, since that already owned all the market and were free of competition. The government opened up the market and reduced the influence of the companies.
Germany has in sum now not more coal power than in had then. It has less coal capacity.