This depends on the type of limit order you have chosen. If it is a “day order,” then at the end of the trading session, if the order has not executed, it will be canceled. If it is a “good-til-canceled” order, it remains open and can be triggered later.