McClellan, not knowing this yet, starts preparing to attack Richmond. When he gets the order to leave the Peninsula he's actually advanced back onto Malvern Hill; note that he is not told he's not getting Burnside until after the recall order arrives. There is no point when McClellan is told "attack with what you've got or leave the Peninsula"; there is, however, a point when McClellan is moving on Richmond despite his promised reinforcements not having arrived yet.
Halleck informed McClellan in late July that Pope was reporting intelligence of troops from Richmond moving in his front. Halleck told McClellan to feel free to press in his front toward Richmond, to see if the Confederates were weakened (for example, perhaps they were so weakened that McClellan wouldn't need the much debated reinforcements to strike at it with success). The same day, Halleck noted Mac should evacuate his sick and wounded, so he could move in
any direction (including potentially Richmond)...
There's McClellan's chance to advance upon a potentially less heavily defended Richmond in force to see what would happen.
McClellan said he'd make some advances on August 1. First attempt by Hooker to move on Malvern Hill to press the Confederates failed on the 2nd for lack of good guides, etc. etc. The orders came from Washington to embark from the Peninsula on the 3rd. Then on the 4th Gen. Hooker and Sedgewick and about 15,000 troops were advanced to Malvern Hill and secured it against light resistance. But even then, at 1 PM on the 5th, McClellan stated he should be given reinforcements on the Peninsula, so he could move forward toward Richmond from Malvern Hill...
McClellan also informed his chief of staff, Gen. Marcy he wasn't going to press forward unless he received reinforcements...
In other words, McClellan was not going to advance on Richmond.
He couldn't beat Lee unless he was reinforced. He seemed quite certain of that. So he was communicating, basically, Richmond was still too heavily defended for his army. So the withdrawal orders stood, as Halleck responded:
General Hooker remained on Malvern for but a short time and when Lee sent a large force opposite to offer battle McClellan ordered him to withdraw on the evening of August 6, to avoid a general battle.
But that's because Lee confirmed that McClellan was leaving - that's why he sent Longstreet north. McClellan had gone to Halleck to plead for permission to attack Richmond, a thing Pope was also asking Halleck to get McClellan to do.
As noted above, McClellan wasn't pleading to attack Richmond. He clearly had permission to do so. He was pleading for reinforcements.
We know that Lee changed his mind because as late as the 7th August Lee says he can't spare any troops to reinforce Jackson, and AP Hill had been sent to Jackson (specifically to Madison Court House, but no further) on condition that AP Hill be able to come back down to reinforce Richmond if McClellan attacks; Lee is worried about McClellan attacking Richmond until a point where McClellan has already been under orders to leave for a week. I rather suspect that by that point Lee knew McClellan was probably going to leave and that is what enables the reinforcements.
On August 6 Lee was busy setting up for the Second Battle of Malvern Hill, which didn't come off because McClellan ordered Hooker to withdraw from his advanced position...
From Col. Marshall of General Lee's staff... They understood that McClellan wouldn't hazard anything unless reinforced, in spite of the strength of his army...
On the Union side, I don't see any orders requiring General McClellan to
decline to defend his army's advanced positions at Malvern Hill, etc. on August 5-7. Especially considering he only moved forward thence
after his withdrawal orders. Nor did he have orders not to reinforce Hooker there and engage in a general battle with Lee. That was McClellan's decision.
For example, at the time, on the evening of the 6th, he notified Halleck that if Hooker couldn't get out of Malvern as Lee approached, he would be constrained to march the balance of the army to his relief, as in fight it out with General Lee there...
But as noted Hooker got out, and no battle came off.
Ultimately, Lee was going to have another battle, and when it wasn't at Second Malvern Hill in early August on the Peninsula, or anywhere on the Peninsula, he moved and had it at Second Manassas later that month in Northern Virginia.
It just strikes me as a bit weird that you can say that nobody knows how many reinforcements it would have taken to convince McClellan to attack. The entire Peninsular campaign was conducted with McClellan having two divisions fewer troops than he'd originally been slated to have; he conducted the entire campaign at a resource deficit compared to what he was supposed to have.
McClellan's army was only supposed to have as many troops as the War Department felt it should have. Just like any of its armies or departments.
McClellan didn't know how many he was supposed to have. He kept adding to the tally, and calculating the deficit as a national calamity. He was apparently incapable of stopping himself on this point.
He played the same tired process over again after Antietam. So he apparently couldn't help it. Said he should wait to move the army until new recruits filled up the old regiments to his liking, etc. etc. Back-pedals, etc.
So it was evident that ultimately, McClellan just didn't want to be in command any more, to take the risks, to deal with his superiors, or even a potentially superior enemy.
In 1863 Navy Secretary Welles noted the President and Cabinet had a laugh over the comic poem "Fable for Strategists" by Mr. Newell in the Orpheus C. Kerr comics; where Jupiter (the President) charges a monkey (McClellan) to whip an Anaconda (the Confederates); But the monkey demands Jupiter lengthen his tail to be as long as the Anaconda... and when he gets bogged down by its weight, calls for more tail, as if needed to extricate himself... and ultimately the the Anaconda gets away, etc.
The fable ends with Jupiter discharging the monkey, who would complain, not about the snake, but the gods that encouraged him and gave him the means to battle it...
But what I also want to point out here is that Halleck's plan is strategically incoherent. He advances Pope towards Gordonsville, into a vulnerable position, in order to draw off troops to make McClellan's evacuation easier, while also hoping that McClellan's evacuation can be completed secretly before Lee realizes it's happening; he wants to give up a position near Richmond in favour of consolidating the Union armies to fight back down to Richmond, to avoid delay, but as a consequence he wants all this done so quickly that it happens before the new levies come into service. Once the new levies come into service Halleck could reinforce Pope and McClellan with about 40,000 troops each.
McClellan dangled Hooker out on a limb at Malvern Hill on August 5-6. One of the unpleasantries of war is that somebody takes great risks. It was never McClellan, in spite of his personal integrity and bravery. Gen. F.W. Palfrey, post-war, in his history of Antietam and Fredericksburg, admitted that in 1862 he was among the foremost enthusiasts and defenders of Mac, but he ultimately admitted his former commander's conceptions of his role rendered him a non-entity on the battlefield, where he was wanted.
The thing which apparently was obvious to many in the Lincoln administration, which they knew was probably obvious to General Lee, was that McClellan was whipped and he wasn't going to attack anything. And another thing obvious to the Lincoln administration was that General Lee
wasn't whipped, and was unlikely to wait for new Union armies to be organized against him to enter the field before he attacked
something.
How whipped was McClellan after the seven days? In this period McClellan was lecturing the Secretary of War about how he hurt his feelings... on the 4th of July...
Then on the 7th of July when the President visited, he provided the commander-in-chief with a manifesto on the war aims and policy of the Government, etc.
And subsequently, on August 1 lecturing General Halleck, the General-in-chief of the Army about slavery...
The President was very patient, and apparently aware General McClellan, an officer of great merit, had a strange reaction to stress which manifested in his official correspondence and an overwhelming despondency. Halleck said he would do what he could to keep Gen. McClellan's nose to the military grindstone.
Meanwhile Pope was the man on hand, at that hour, willing to meet the Victorious forces of Lee with some degree of boldness.
His concern about Pope being vulnerable is such that he advances Pope's army into Jackson's operational range, thus making it easier for Lee to attack it; he wants to speed things up by moving the army back towards Washington and starting over; at no point that I can discern does he actually evaluate whether reinforcements can be had elsewhere for the Army of the Potomac.
Halleck was to try to concentrate the divided army, which evidently could not cooperate simultaneously against Lee's otherwise. Second Manassas proved
disastrous, and alarming. But at least McClellan was out of the bag at Harrison's landing, and the divided army was united in its immediate aftermath, when Pope retreated to Washington.
This might have been what saved Halleck, in spite of McClellan's earlier personal view (expressed August 4) that Halleck was certain to finish himself off by the end of August. But in any case, the President still had faith that if McClellan wouldn't fight, he could inspire the Army of the Potomac to do so. And Halleck was necessary to get what good work out of McClellan could be had.
He's brought in to be an expert for Lincoln and Stanton to lean on, but declines to second-guess their (I should stress, badly numerically incorrect) count of how many troops there are outside McClellan's army or how many troops are needed to defend Washington.
Halleck was necessary to keep McClellan from manifesting his bad ideas, and lack of interest in anything but reinforcements, even at the expense of the country. On September 11, 1862 McClellan demanded more reinforcements from Halleck, even if it allowed the Confederates to capture Washington, so long as his army was reinforced!
General Halleck, of course, declined to surrender Washington to the mercy of the Confederates to guarantee McClellan wouldn't be defeated. He'd just have to take his chances like everybody else.