How to deal with a stock that became non-compliant

Salaam aleikoum wa rahmatullahi wa barakatuhu,

Is it permissible to add stocks during the grace periode of a certain stock that became non-compliant in order to close the gap as much as possible due to significant loss?
My intention is to exit the stock as soon as I break even or at least have reduced my loss.

Thanks in advance, jazak Allahu khairan