General Grant's army came closest to defeat in the West as a result of a surprise Confederate attack at

the Battle of

Shiloh

It was only a surprise to Grant.