The \appendix command changes the way sectional units are numbered. It generates no text. However, section commands after the \appendix command are numbered accordingly.