George Armstrong Custer at the Battle of Trevilian Station.
"...Custer was now virtually surrounded, his command in an ever-shrinking circle, as every side was charged and hit with shells. Historian Eric J. Wittenberg described the general's predicament as "Custer's First Last Stand", foreshadowing his famous demise at the Battle of Little Bighorn."
I am going with General George Armstrong Custer at the Battle of Trevilian Station.
The source is Titled Custer's First Last Stand.
Last words from the source article.
However, unlike another June day twelve years later, Custer received reinforcements that rescued his beleaguered command from its trap. And, unlike that hot dusty day in June 1876, George Custer had survived his "first last stand." https://www.civilwar.org/learn/articles/custers-first-last-stand
Sheridan's objectives for his raid were to destroy stretches of the Virginia Central Railroad, provide a diversion that would occupy Confederate cavalry from understanding Grant's planned crossing of the James River, and to link up with the army of Maj. Gen. David Hunter at Charlottesville. Hampton's cavalry beat Sheridan to the railroad at Trevilian Station and on June 11 they fought to a standstill. Brig. Gen. George A. Custer entered the Confederate rear area and captured Hampton's supply train, but soon became surrounded and fought desperately to avoid destruction.
On June 12, the cavalry forces clashed again to the northwest of Trevilian Station, and seven assaults by Brig. Gen. Alfred T. A. Torbert's Union division were repulsed with heavy losses. Sheridan withdrew his force to rejoin Grant's army. The battle was a tactical victory for the Confederates and Sheridan failed to achieve his goal of permanently destroying the Virginia Central Railroad or of linking up with Hunter. Its distraction, however, may have contributed to Grant's successful crossing of the James River.
George Armstrong Custer at Trevillian Station drove a wedge into the Confederate lines. Rebel reinforcements soon surrounded his men and only Phil Sheridan's arrival saved them.