Cancelling for an out of stock reason would give you defects on your account.
You still have items for sale so your account is not restricted.
To bring back up to required Selling Standard, you just need to make enough sales, and receive no defects on those .
Why were you cancelling auctions , I'm presuming with bids, before they ended? This also would bring you damaging defects if seen to be doing this regularly, eBay do not like unhappy buyers.
To avoid disappoint for the price reached when an auction ends, simply start the auction for the lowest amount you are happy to receive, it cannot sell for less.
@jayl-7462