The attack was thwarted , bringing the visit to an abrupt end .
The attack was thwarted , and the visit ended .