Let $A$ be the subalgebra of $M_4(\mathbb C)$ consisting of matrices of the form $\begin{bmatrix}a & b \\ 0 & c\end{bmatrix}$ where $a,b,c \in M_2(\mathbb C)$.
Now define $\phi:A \to A$ by $$\phi \bigg(\begin{bmatrix}a & b \\ 0 & c\end{bmatrix} \bigg) = \begin{bmatrix}a & b \\ 0 & c^t\end{bmatrix}.$$
To me it makes intuitive sense that $\phi$ preserves invertibility... However, I am not sure how I can prove it?
The determinant of a block triangular matrix is the product of the determinants of the matrices on the "diagonal". Therefore by the definition of $\phi$ we immediately see that $$\det \phi\left(\begin{bmatrix}a & b \\ 0 & c\end{bmatrix} \right) = \det a \det c^t= \det a \det c = \det\begin{bmatrix}a & b \\ 0 & c\end{bmatrix}.$$