While a halt is in place, you can still cancel a pending order before it's executed in the market if the order is for whole shares. However, if you place a fractional order and it's routed to a market center, but a trading halt goes into effect before the order executes, you cannot cancel it. The order will execute when the halt is lifted.