You can cancel a LinkedIn invitation you've sent accidentally, or that you regret sending, so long as the recipient hasn't accepted your invitation.