I have seen this in the same place in the game three times now (Grymforge, on the bridge with the gargoyle traps).

I have been able to exit turn-based mode by moving all my players to a combat. Once everyone is in the same combat, they are all aligned (not split), and exit turn-based mode after combat concludes. Very annoying and not what I would expect, but works to get out of this loop.