What happens to stock which is the subject of a loan and which is subsequently delivered against a call assignment or put exercise?

The loan will be terminated on T+1 of the action (trade, assignment, exercise) which closed or decreased the position.

Powered by IBot
How do I know if an option has been assigned?
What happens to my long stock position if a short option which is part of a covered write is assigned?
Under what circumstances will a stock loan be terminated?
Are positions resulting from option exercise or assignment counted for PDT purposes?