You can simply cancel the limit order at 39 placed and visible in your order book. If you don’t cancel it and it remains pending until the end of the day, it gets automatically cancelled after markets close.