Based on this question and the amazing @egreg's answer, I decided to make some tests to study and learn some boxes behavior. More precisely, to understand the \leavevmode.
In the first example, one horizontal box with two vertical ones inside it with some horizontal boxes there, and everything is fine.
In the second example, I put \leavevmode in the first vertical box and as I expected the behavior was changed to horizontal, so aaa and bbb are side-by-side.
But the output is completely affected by that. That is, the second vertical box is out or margin.
Thus, why the second example is too wide?
MWE
\documentclass[11pt,a4paper]{report}
\usepackage{showframe}
\newcommand{\linha}{\noindent\makebox[0pt][l]{\rule[0pt]{\linewidth}{.4pt}}}
\begin{document}%
\noindent%
\hbox{%
\vbox{%\leavevmode%
\hbox{aaa}%
\hbox{bbb}%
}%
\vtop{%
\hbox{xxx}
\hbox{yyy}
\hbox{zzz}
}%
123456
}%
\medskip
\noindent%
\hbox{%
\vbox{\leavevmode%
\hbox{aaa}%
\hbox{bbb}%
}%
\vtop{%
\hbox{xxx}
\hbox{yyy}
\hbox{zzz}
}%
123456
}
\end{document}
