South Korean shares closed lower Thursday as foreign funds dumped semiconductor names, yet Hyundai Motor Co. jumped 6.38 percent after Washington locked in a reduced 15 percent tariff on Korean autos.

The benchmark KOSPI fell 7.79 points, or 0.19 percent, to 4,028.51. Trading volume reached 348.16 million shares worth 13.57 trillion won. Losers outnumbered winners 592 to 283.

Lee Kyung-min, an analyst at Daeshin Securities, said reports that Microsoft Corp. trimmed internal AI software sales targets revived fears about memory-chip demand. "In South Korea, selling pressure was concentrated in semiconductor names, particularly from foreign investors," he said.

SK hynix Inc. fell 1.81 percent to 542,000 won, and Hanmi Semiconductor Co. dropped 4.44 percent. Samsung Electronics Co. bucked the chip decline and rose 0.57 percent to 105,100 won after local media said it secured a next-generation high-bandwidth memory supply agreement with Alphabet Inc.'s Google unit.

Hyundai Motor, Korea's largest automaker, surged 6.38 percent to 283,500 won. Kia Corp. added 1.43 percent to 120,300 won. Both stocks moved after the U.S. Federal Register posted a notice implementing tariff elements of the Korea-U.S. strategic trade deal, including a 15 percent duty on Korean passenger vehicles retroactive to Nov. 1.

The won weakened 5.5 won to 1,473.5 per dollar at the 3:30 p.m. fixing, which traders said added to foreigners' caution on exporters outside the auto complex.

LG Energy Solution Ltd. slipped 1.91 percent to 410,000 won, and defense contractor Hanwha Aerospace Co. fell 1.27 percent even as Romania-linked defense news circulated in Seoul. KB Financial Group Inc. declined 2.20 percent as bank stocks lagged the auto rally.

On the Kosdaq, the index fell 0.23 percent to 929.83 after touching an intraday high above 937. Foreigners were net buyers there, while individuals sold 695 billion won worth of smaller-cap names.

Robot-related shares bucked the broader tech slide. Rainbow Robotics Co. rose 6.30 percent and Robotis Co. jumped 12.72 percent after overseas media reported heightened U.S. interest in factory automation subsidies.

Lee Kyung-min at Daishin said chip sentiment could remain choppy until the Federal Reserve's next rate decision and until Korean companies report fourth-quarter shipment guidance. The KOSPI futures market showed foreigners net selling 346.7 billion won worth of contracts, a separate headwind for Friday's open.

Seoul markets reopen Friday at 9 a.m. with automakers scheduled to brief analysts on how quickly the 15 percent U.S. tariff rate flows into export invoicing.