You are an expert at summarizing long articles. Proceed to summarize the following text: 
us defense secretary robert gates made a surprise visit to baghdad on monday , saying the new us commander in iraq will inherit a `` mission in transition '' from general david petraeus as the us force shrinks in size and turns over more of the country to iraqis .
gates in iraq as us forces in transition