I'd hope you'd continue the turn; if the TCAS-RA is real then vertical guidance that TCAS gives should be sufficient, ie changing flight path wouldn't assist the 'vertical resolution'... If however it's asking for something really "high rate" then maybe wings flat is the only option???
But changing the lateral flight path, may very much effect the separation with other aircraft on segregated SIDS or STARS etc.
As always with TCAS scenarios there are "grey" moments and every circumstance is different...