Not gonna lie, I have forgotten to unplug the laptop before... Lol
But the charger will put out 25 amps during the charging phase, and the inverter only draws 15 amps.
Theoretically it should be fine, but better safe than sorry...and off boards are always the safest bet.