I'm in an uncertain position where I have the following:
$G=A \underset{C}{\ast} B$ and $H\leq G $.
Let $h\in H \cap C$ where $C$ is abelian.
Define, $$\tau\left(g\right)=\begin{cases} g & g\in A\\ h^{-1}gh & g\in B \end{cases}$$
This defines an automorphism of the amalgamated product $G=A \underset{C}{\ast} B$ by the universal property. Both conditions coincide if $g\in C$ as $C$ is commutative.
I hope it is the case that $\tau (H)\subseteq H$. Obviously this follows if $H$ is contained in either factor, but I am not sure how to handle a general subgroup.
But I am not sure if this is true, could anyone give leads on how to either prove this or how to come up with a nice and informative counterexample?
Note that $H$ is not normal for me. If $H$ was normal in $G$, the claim would follow easily algebraically.
Let $A$ and $B$ be free of rank $2$ with $A = \langle a,c \rangle$ and $B = \langle b,c \rangle$, with $C = \langle c \rangle$ infinite cyclic. So $G$ is just the free group of rank $3$ with basis $a,b,c$.
Choose $h=c$ and $H = \langle c,ab \rangle$. Then $\tau(ab) = ac^{-1}bc \not\in H$.