We prove that any Lie subgroup G (with finitely many connected components) of an infinite-dimensional topological group which is amalgamated product two closed subgroups can be conjugated to one factor. apply this result classify actions on Danielewski surfaces by elements the overshear (up conjugation).