Undelivered short selling, what will happen now

If the particular stock is already present in your demat account, then the quantity that you shorted would be sold from your demat holding in this case. The reasoning behind why this happens is explained in a different thread -