Consider a Lie subalgebra $\mathfrak{g} \subset \mathfrak{su}(n)$ such that $G = \exp\mathfrak{g} \subset \mathrm{SU}(n)$ is Lie. Is $G$ a compact Lie group?
I'm thinking one can use Cartan's closed subgroup theorem in the opposite direction: since $G$ is a Lie subgroup, it is closed in $\mathrm{SU}(n)$. Then we use the fact that closed $\Leftrightarrow$ compact for Lie subgroups. However, I am not 100% sure if I can apply the theorem in this way.
Related questions:
Is every Lie subgroup of $SU(2)$ closed? (My question seems to be a generalization to arbitrary $n$, but the proof method in the answer seems too explicit to generalize.)
Can a Compact Lie Group have a Non-Compact Lie Subgroup? (I am not sure whether my above definition of Lie subgroup coincides with that of the counterexamples.)