Notice that, because
\(A\) is closed, the limit of the sequence (if it exists) must lie in
\(A\text{.}\) Further, we proved long ago that a Cauchy sequence can have at most one subsequential limit.
Consider the set
\(\tilde{X}=\left\{x_n\middle\vert n\in\mathbb{N}\right\}\) and its closure
\(\overline{\tilde{X}}\text{.}\)
Because
\(\overline{\tilde{X}}\subseteq A\) and
\(\overline{\tilde{X}}\) is closed, we see that by
Proposition 5.2.23 \(\overline{\tilde{X}}\) is compact.
If \(x_n\) fails to converge, we know that \(\forall a\in \overline{\tilde{X}},\exists\epsilon>0:\forall K,\exists n>K:d(a,x_n)\geq \epsilon\text{.}\) Call this \(\epsilon_a\) and consider the open cover for \(\overline{\tilde{X}}\) given by:
\begin{equation*}
\mathcal{U}=\left\{B_{\epsilon_{x_n}}(x_n)\middle\vert n\in\mathbb{N}\right\}
\end{equation*}
By compactness of \(\overline{\tilde{X}}\text{,}\) this set has a finite subcover. That is: there are finitely many
\begin{equation*}
B_{\epsilon_{x_{n_1}}}(x_{n_1}),B_{\epsilon_{x_{n_2}}}(x_{n_2}),\ldots, B_{\epsilon_{x_{n_N}}}(x_{n_N})
\end{equation*}
which suffice to cover \(\overline{\tilde{X}}\text{.}\)
Now consider
\(K=\max\{n_1,\ldots,n_N\}\text{;}\) by assumption that
\((x_n)_{n\in\mathbb{N}}\) fails to converge, there is
\(n\gt K\) so that
\(x_n\) lies in none of the listed sets. This is a contradiction.