I will add the following clarification to my previous reply:
Note that in that reply I was focusing on protecting the generator from the DC supply, but not the DC supply from the generator.
The reason is that it is quite common for the generator to present to the DC supply a similar or even higher impedance than the load (e.g., both may be 50ohms) and thus, a substantial portion of the DC supply voltage will fall on the generator's output and may jeopardize it.
In contrast, unless one has a good reason to suspect otherwise, it is usually a safe bet to assume that the DC supply will present to the generator a substantially lower impedance than the load, and thus only a small portion of the generator's AC voltage will fall on the DC supply.