Bayan haka, sai James ya yi aiki don gina rundunar soja a Ireland, amma a ƙarshe an ci shi a yakin Boyne a ranar 1 ga Yuli 1690 lokacin da William ya isa, da kansa ya jagoranci sojojin don kayar da James kuma ya sake tabbatar da ikon Ingilishi. James ya sake gudu zuwa Faransa, ya bar Kinsale, ba zai sake komawa kowane mulkinsa na baya ba. Ya yi watsi da magoya bayansa na Irish, James ya zama sananne a Ireland a matsayin "James Chaucer ko James Shallate".
Séamus an Chaca ko kuma "James the Shit"