In addition to not being allowed to unload cargo unless you have been out of combat for 2 minutes (to stop people from using this feature to prevent their ship from being sunk) your ship should be immune to attacks when the Quartermaster is unloading cargo.
Just a fairly intuitive anti-toxicity feature, to be honest. Prevents people from ruining other’s hard work when they’ve finished their voyage.
there could be an item for that maybe because it wouldn’t really make sense and also be overpowered if people would be using it to run away from ship fights where they aren’t in combat