I toggled group mode off (PC) so Gale could sneak to the console under invisibility to destroy the Steel Watch Foundry. This began the usual cutscenes of everyone running out and then the next one involving the gnomes. Despite putting group mode back on, something seems to have gone wrong: I switched back to Tav and clicked on Gale and he had nothing to say then after taking a long rest, everyone appeared back where they were when I went to camp - except my Tav who was now back in the destroyed Foundry, together with anyone else I invited to join the party while still at camp. The party is also ungrouped again. Because the Foundry is destroyed, the exits are blocked by rubble and there's no way out.