:wq is the save way.
:wq! is the “really save” way