Assuming the aircraft you shot at hasn't made any sporadic manoeuvres, the INS will guide the missile to where it thinks the bandit is. The radar will also go active and search for anything in its seeker cone.
Its not uncommon for an AMRAAM to be perfectly fine when you lose lock a few seconds before pitbull