Each permutation $\pi\in\mathscr{S}_n$ is a bijection to and from the set $\overline{1,n}:=\{1,\dots n\}$.
When $n=4$, on one hand, we can clearly see that $\alpha=(1234)$ is a bijection to and from $\overline{1,4}$; explicitly:
$$\begin{align}
\alpha: \{1,2,3,4\} &\to \{1,2,3,4\} \\
1 &\mapsto 2, \\
2 &\mapsto 3, \\
3 &\mapsto 4, \\
4 &\mapsto 1.
\end{align}$$
On the other hand, still with $n=4$, we have $\beta=(123)$; in this context, $\beta\stackrel{!}{=}(123)\color{red}{(4)}$ is defined by
$$\begin{align}
\beta: \{1,2,3,4\} &\to \{1,2,3,4\} \\
1 &\mapsto 2, \\
2 &\mapsto 3, \\
3 &\mapsto 1, \\
\color{red}{4} &\,\color{red}{\mapsto 4},
\end{align}$$ because the $\color{red}{\text{one-cycle } (4)}$ is inferred from the context.
One-cycles are typically omitted for convenience . . .
But they're still there.
If we were to consider a bigger value of $n$, like $n=5$, say, then the $\alpha$ and $\beta$, taken as elements of $\mathscr{S}_4$, strictly speaking, are not elements of $\mathscr{S}_5$ (although, of course, they each define a bijection from $\overline{1,5}$ to $\overline{1,5}$; for instance: define $\alpha':\overline{1,5}\to\overline{1,5}$ by $\color{blue}{\alpha'(5)=5}$ and $\alpha'(x)=\alpha(x)$ for all $x\in\overline{1,4}$, so that $\alpha'=(1234)\color{blue}{(5)}\neq\alpha$, even though, if the context is clear enough, we may write $\alpha'=(1234)$ sometimes).