You should be able to do this to send the underbidder an offer: https://www.ebay.com.au/help/selling/listings/selling-auctions/making-second-chance-offers?id=4142

You should cancel the first sale though. I am not sure about the 30 days... Maybe you can ask eBay (live chat) or someone here knows. (I am not a seller.)