SH does not have command and you can not change her spells on the nautiloid, sadly.
Otherwise, both fights would be very easy cheesing it with command: drop.
They only deal 5 damage without the weapon, so the mindflayer easily wins.
What is the best nonexplosive strategy to at least get the sword?
I dislike exploiting the explosion mechanics or US rest spamming...
Play barb.
Chad.rescue shadowheart without corrupting yourself.
Let shadowheart guiding bolt the campion.
Smash