Example 7 A positive integer $n$ cannot be divisible by $2$ or $3$, and there do not exist non-negative integers $a$, $b$ such that $\left|2^{a}-3^{b}\right|=n$. Find the minimum value of $n$.
(2003, National Training Team Problem)