Finite abelian groups - direct sum of cyclic subgroup
The result follows for arbitrary finite abelian groups from the $p$-group case.
Remember that a finite abelian group $G$ is the direct sum of its $p$-parts, $$G = G(p_1)\oplus \cdots\oplus G(p_n),$$ where $p_1,\ldots,p_n$ are the distinct primes that divide $|G|$, and $$G(q) = \{ a\in G\mid q^ma = 0 \text{ for some }m\geq 0\},\qquad q\text{ a prime.}$$
If $a\in G$ is of maximal order, then we can write $a=a_1+a_2+\cdots+a_n$, where $a_i\in G(p_i)$. Since $a$ is of maximal order in $G$, then $a_i$ is of maximal order in $G(p_i)$. By the $p$-group case, we can write $G(p_i) = \langle a_i\rangle\oplus H_i$ with $H_i\leq G(p_i)$. Then $H_1+\cdots+H_n$ is a subgroup of $G$, it is the internal direct sum of the $H_i$, and since $G(p_i) =\langle a_i\rangle\oplus H_i$, then $$\begin{align*} G &= G(p_1)\oplus \cdots \oplus G(p_n)\\ &= (\langle a_1\rangle\oplus H_1) \oplus \cdots \oplus (\langle a_n\rangle \oplus H_n)\\ &= (\langle a_1\rangle\oplus\cdots \oplus\langle a_n\rangle) \oplus (H_1\oplus\cdots\oplus H_n). \end{align*}$$ To finish off, note that $\langle a_1\rangle\oplus\cdots\oplus \langle a_n\rangle = \langle a\rangle$ (e.g., by the Chinese Remainder Theorem).