If you choose to have the targeted creature block, the creature it must block is the one that was equipped by Grappling Hook at the time the ability triggered. It doesn’t matter if Grappling Hook leaves the battlefield or somehow becomes attached to another creature.