When Youngjin looked out of his office window and saw armoured trucks and immigration enforcement officers running around with guns, he was surprised, but not worried.

The young South Korean was certain it had nothing to do with him. He was in the US only for a few weeks on a short-term visa, he thought to himself.

Then the armed agents burst into his room and ordered him outside. They handcuffed him, before attaching chains to his waist and ankles, and loaded him onto a bus bound for a detention centre.

I panicked and my mind went blank. I felt sick, he told the BBC, now back home in South Korea.

I couldn't understand why I was being treated like this.

Youngjin is one of more than 300 Korean workers who were detained in the US state of Georgia earlier this month, in one of the largest immigration raids of Donald Trump's presidency to date. He and others interviewed for this article didn't want to reveal their real names in order to protect their identity.

US officials initially claimed the workers had been in the country illegally on incorrect visas, but eventually the two sides struck a deal allowing them to leave voluntarily without any penalties, so they could return to work there in the future.

Most of the workers were in the US temporarily, helping to build an electric car battery plant run by two South Korean companies, Hyundai and LG – part of a US push to get foreign companies to invest and manufacture more in the states.

LG said that many of its employees who were arrested had various types of visas or were under a visa waiver programme. And so they were especially shocked by the raid.

We just came out for a brief break and I could see a lot of people, officials with guns. As Koreans, we just thought they were here to arrest criminals, but then, they suddenly started arresting us, said Chul-yong, who was also detained that day.

He said they tried to explain who they were, but they were terrified: There were helicopters and drones, armoured vehicles… people with guns.

There were some officers pointing guns at workers, he claimed. You know those red lasers that come out of those guns? It was so shocking that some people were shivering in fear.

Even those who managed to share their visa details said they were arrested. I thought everything would be cleared up but instead, they suddenly shackled us, said Mr Kim, another worker detained, who only wanted to reveal his last name.

Chul-yong said there was a shackle around his ankles and another around his waist, connected to handcuffs. It was so tight, I couldn't touch my face with my hands.

They all said they had no idea why this was happening, or where they were being taken. I later learned that I was detained at the Folkston ICE Processing Center, added Chul-yong, a software engineer. He had been planning to stay for about a month but was arrested on his sixth day there.

Youngjin, an engineer and sub-contractor for LG, was scheduled to be there for five weeks to train staff to operate some of the specialist high-tech equipment.

The 30-year-old was shaking, still visibly upset, as he described to the BBC being taken to the detention centre and locked in a room with 60-70 other people.

I had a panic attack. I just stood there trembling, he said. The room was freezing, and the new detainees were not given blankets for the first two days, he added.

I was wearing short sleeves, so I put my arms inside my clothes and wrapped myself in a towel to try to stay warm at night, he said. The worst part was the water. It smelt like sewage. We drank as little as possible.

The bunk beds were all taken, Chul-yong said, by the time he arrived, leaving him and others to find any empty spot to rest, even an empty desk where they could put their head down.

For the first few days, Youngjin had no idea how long he would be held for. He feared it might be months. Only after some of the workers were able to meet lawyers and consular staff, did they realise their government was working with the US authorities to get them released.

Even the US side feels it may have gone a bit too far, South Korea's chief trade negotiator told reporters after returning from the US. Seoul says it is now investigating potential human rights violations during the raid by U.S. authorities.

Trump acknowledged the need to have specialists from overseas train up US workers, and according to South Korean officials, US Deputy Secretary of State Christopher Landau has expressed his deep regrets over the incident.

Still, it has shaken relations between the US and South Korea, usually close allies, especially since it came hard on the heels of a trade deal in which South Korean companies pledged to invest $350bn in the US.

Mr Kim believed his work was permitted by his B-1 visa - and argued it made no sense for the authorities to detain hundreds of people without clarifying their roles in the factory.

Younjin, who was in the US on a 90-day visa waiver programme, is adamant he did nothing illegal. I only attended meetings and gave training presentations, he said, explaining this was within the scope of the waiver. My trust in the US has been deeply shaken. I don't think it's a trustworthy partner for South Korea.

Although back with his family, the engineer is still struggling to process what happened to him. When he saw them at the airport after arriving home on Friday night, he said he smiled and hugged them, but felt nothing.

It was like I was hollow inside. It wasn't until my mum cooked me dinner that night that it really hit me, and I cried for the first time.

And he only leaves the house for short outings. When I'm outside, if I smell something similar to the prison, I start trembling and get short of breath, so I don't go outside for long now, he said.

Chul-yong says he, too, has been struggling with the experience. We all came out of the arrival gate smiling, but now that I think of it, I was close to tears, he says, recalling his return home last week. Saying this makes me tear up.

He thinks most of the workers have had enough and may not return. But he says he has no choice.

This is what I do. I've been doing this for 30 years. I've put my life into this work, he adds.

If I can't do this, what can I do? How will my family live?