Fuchs noted that:
Ricks revived the old tale of how Marshall fired 500 flag officers in WW2
Peter Caddick-Adams, a British military historian, has talked about the impact of Dunkirk on the defeated British Army's officers; they collapsed from the physical and mental impact of the blitzkrieg, were taken prisoner, were sacked as operational commanders and were retained for service. Note this was in the British Empire's darkest days in May 1940.

Jim Storr, author of 'The Human Face of War', has a chapter on the career of general officers in WW2, which IIRC notes the demise of the majority, a few were taken prisoner and one Army Commander, 1st Army, General Anderson, after the surrender in Tunisia, never had a field command again:http://en.wikipedia.org/wiki/Kenneth..._Noel_Anderson

I am sure the British Army has other examples, such as in WW1 and maybe the RN & RAF, for removal from command in wartime.