To leave the map while playing zombies, press the Start button and then select "Quit Game." That will drop you out of the match cleanly.