Minor nitpick: a covariance matrix can be positive semidefinite if it is not full rank.
Indeed conventionally a Cholesky factorization is defined in terms of $M = LL^T$ for lower triangular matrix $L$, or $M = U^TU$. I still think it is fair to consider $M=UU^T$ or $M=L^TL$ as Cholesky factorizations too, as the algorithm to calculate them are almost the same, the difference being only the order of the elements being solved. Either way, you would be doing back substitution when using these factors to solve a linear equation.
Back to the question: given a Cholesky factorization $M = LL^T$, we can find $L^{-1}$ which is a cheaper operation compared to general matrix inverse (although still on the order of $O(n^3)$. The problem is, as already discussed in other answers, $L^{-1}$ is also lower triangular, but $M^{-1} = L^{-T}L^{-1}$. The right hand side is of the form $UU^T$, and there is not of the conventional Cholesky factorization form.
How to convert a $U$ to an $L$? The answer is to use Givens rotation. Suppose the rotation to zero out $U_{1,2}$ is named $R_{1,2}$.
$$
\hat U=UR_{1,2}
$$
Because $R_{12}$ is orthogonal, we have
$$
\hat U \hat U^T = UR_{1,2}R_{1,2}^TU^T = UU^T
$$
We can consecutively apply other rotations to zero out the remaining off-diagonal upper triangular elements, which will result in an $L$.
$$
L = UR_{1,2}R_{1,3}\dots R_{n-1,n}
$$
Each Givens rotation is an $O(n)$ operation, and there are $n(n-1)/2$ off-diagonal upper triangular elements. Therefore, the whole calculation is on the order of $O(n^3)$.
While not explicitly mentioned in the question, the answer by Yaroslav touched on $LDL^T$ factorization, so I will elaborate on that too. For $M=LDL^T$, for which $M^{-1}=L^{-T}D^{-1}L^{-1}$ and hence in the form of $UDU^T$, one cannot simply insert Givens rotation. Let
$$
UDU^T = \hat U \hat D \hat U^T
$$
From orthogonality of Givens rotation, we get
$$
\hat D = R^TDR
$$
but $\hat D$ may no longer be diagonal after this transformation. The correct approach would be to multiply the square roots of $D_i$ to $L$ so we can temporarily have $I$ as the diagonal. Then we apply Givens, and divide $L$ by the its resulting diagonal, while the new diagonal matrix will be its square. There is a concern that if $D$ contains negative elements (when M is symmetric indefinite), columns of $L$ will become imaginary. But this is temporary; after the division, $L$ will return back to real.
The following algorithm for converting $U$ to $L$ is found by algebraic manipulation with Sympy, so I don't have a rigorous proof of it. Assuming we process column-by-column from left to right, and for each column, row-by-row from top to bottom, in order to zero out $U_{i,j}$ where $i<j$, the new diagonal values are calculated as
$$
\begin{aligned}
D'_i = D_i + U^2_{i,j}D_j \\
D'_j = {D_iD_j \over D'_i}
\end{aligned}
$$
In the new matrix $U'$, the element at $(i,j)$ is transferred to $(j,i)$ as
$$
U'_{j,i} = {U_{i,j}D_j\over D'_i}
$$
At column $i$, all other nonzero elements below the diagonal are transformed as
$$
U'_{k,i} = {U_{k,i}D_i + U_{i,j}U_{k,j}D_j\over D'_i}
$$
and at column $j$, all other nonzero elements above the diagonal are transformed as
$$
U'_{k,j} = U_{k,j}-U_{i,j}U_{k,i}
$$
A caveat: this process will break down if $D_i'=0$.