President Hu Jintao returned to Beijing on Sunday after a diplomatic tour that began awkwardly in the United States but ended with a swing through Africa that brought China several trade and energy deals .