It will not.
Well, you can revert changes made by the auto format by performing an "Undo" (e.g., Edit > Undo).
However, this only works if you notice that it made unwanted changes, so you might decide you prefer the completely reasonable solution that @sterretje provided.