There seems to be a myth amongst boaters that disconnecting the output of an alternator while it is producing charge will "blow" the rectification diodes.
I can see no reason for this to happen.
This is a trap for young players - and such traps can be found in many places.
The key is to understand that components of an interconnected system do not always behave in the way we might expect when they are operating in a different configuration to those with which we are familiar. The automotive environment is a classic - specifically when the configuration difference is whether the battery is in circuit or not.
The automotive battery is a very low impedance component - which means it takes a LOT of energy to make big voltage changes across it quickly. Since sources of electrical energy within the automotive environment are not particularly huge, the result is that changes in voltage across the battery are comparatively slow.
This is the scenario we are very familiar with.
However, when you remove the battery from the circuit, the circuit impedance increases dramatically, which means any energy sources or drains will have a much greater influence on circuit voltages.
Now you might ask ... "Well, the alternator has a regulator - so shouldn't
that stop excessive voltages from reaching the rest of the vehicle's circuitry?" The answer to this is both "Yes" and "No".
In the case where you have an engine running at a given speed with an alternator connected to circuitry without a battery, then it is possible that this can run and keep within tolerable limits. But this is a "steady state" scenario - and pays no heed as to how this state was achieved. This, again, is a familiar line of thinking which makes it seem strange that there would be any significant risk.
What is not included in this thinking is what happens
at the moment of a configuration change. It's when things
change that we have to pay
extra attention. We encounter this in all areas of electrical engineering - from things like switch bounce to back EMF.
Such is the case with the alternator and the battery. The alternator's pre-change state was one where it had significant magnetic field energy as part of a current generating system - where that current was being absorbed by the battery. When the battery is removed, that current generating system has a key parameter change - and it will respond according to the laws of physics, as people have described above.
Always remember to not only consider state 'A' and state 'B' of a system - but also the transition between the two.