Yes, stoploss automatically sells the stocks. It is a standing instruction for a broker to buy or sell the stocks if the price reaches a specific price.