From the Classification Theorem for closed (i.e. compact and boundaryless) surfaces, it follows that $S^2$ is the only closed surface with trivial $\pi _1$. That's easy because the fundamental group classifies closed surfaces.
I'd like to get the same conclusion (i.e. that a simply-connected closed surface is isomorphic to $S^2$, in your favorite category) without that theorem. Is it possible? Any discussion about (generalized) Poincaré conjecture I could find starts saying that in dimension $1$ and $2$ it's true because of the classification theorems (available in those dimensions), dimension $3$ was settled by Perelman and then switches to high-dimensional wild cases. No insights on a direct proof in dimension $2$.
My attempt: let $S$ be a closed surface with $\pi_1(S)=1$; trivial $\pi_1$ implies that $S$ is orientable, that $S$ is covered only by itself, that every embedded loop bounds a disk (so $S$ has genus $0$, since cutting along every embedded loop disconnects $S$); compactness rules out $\mathbb{R}^2$ and $\partial S = \emptyset$ rules out the unit disk. But here I don't know how to go on. Maybe one should try to find an explicit isomorphism to $S^2$, but I can't see how.