This camouflage case arrived at the home of Sgt. Bowe Bergdahl’s friend Kim Harrison several days after he disappeared in Afghanistan. Inside was Bergdahl’s laptop computer, a journal, a copy of Ayn Rand’s “Atlas Shrugged” and a cracked Kindle, as well as military papers in which Bergdahl named Harrison as the person who would receive his body should he be killed. (Matt McClain/The Washington Post)

Before he became a Taliban prisoner, before he wrote in his journal “I am the lone wolf of deadly nothingness,” before he joined the Army, Sgt. Bowe Bergdahl was discharged from the Coast Guard for psychological reasons, said close friends who were worried about his emotional health at the time.

The 2006 discharge and a trove of Bergdahl’s writing — his handwritten journal along with essays, stories and e-mails provided to The Washington Post — paint a portrait of a deeply complicated and fragile young man who was by his own account struggling to maintain his mental stability from the start of basic training until the moment he walked off his post in eastern Afghanistan in 2009.

“I’m worried,” he wrote in one journal entry before he deployed. “The closer I get to ship day, the calmer the voices are. I’m reverting. I’m getting colder. My feelings are being flushed with the frozen logic and the training, all the unfeeling cold judgment of the darkness.”

A few pages later, he wrote: “I will not lose this mind, this world I have deep inside. I will not lose this passion of beauty.”

At another point, using his often un­or­tho­dox spelling, he wrote: “Trying to keep my self togeather. I’m so tired of the blackness, but what will happen to me without it. Bloody hell why do I keep thinking of this over and over.”

On June 9, 2009, two weeks before he walked away, Bergdahl sent an e-mail to a friend.

“l1nes n0 t g00 d h3rE. tell u when 1 ha ve a si coure 1ine about pl/-\ns,” read the partly coded message, one of Bergdahl’s many references to unspecified plans and dreams of walking away — to China, into the mountains, or, as he says at one point, into “the artist’s painted world, hiding from the fields of blood and screams, hidden from the monster within himself.”

Several days after he vanished, a box containing his blue spiral-bound journal, his laptop computer, a copy of the novel “Atlas Shrugged,” military records and other items arrived at the home of his close friend Kim Harrison, whom Bergdahl designated in his Army paperwork as the person who should receive his remains.

Harrison said she decided to share the journal and computer files with The Post because she is concerned about the portrayal of Bergdahl as a calculating deserter, a characterization she says is at odds with her understanding of him as sensitive and vulnerable .

Bergdahl’s parents declined a request for an interview about their son’s writings and mental health. A military spokesman said questions could not be put to Bergdahl, 28, “at this point in his reintegration process.”

Harrison and others close to Bergdahl said his writing and the events surrounding the Coast Guard discharge raise questions about his mental fitness for military service and how he was accepted into the Army in 2008. Typically, a discharge for psychological reasons would disqualify a potential recruit.

An undated photo of Bergdahl provided to The Washington Post. (Courtesy of Kim Harrison)

Bergdahl dances with Kayla Harrison in this undated photo. (Courtesy of Kim Harrison)

According to Coast Guard records, Bergdahl left the service in early 2006 with an “uncharacterized discharge” after 26 days of basic training. The term applies to people discharged before completing 180 days of service. No reason is specified in such discharges, and a Coast Guard representative said no further information was available.

A senior Army official, speaking on the condition of anonymity, confirmed that the Army was aware of a prior “administrative discharge” when Bergdahl enlisted. A separate Army official, also speaking on the condition of anonymity, said that Bergdahl would have required a waiver to enlist under such circumstances. The official could not immediately confirm that Bergdahl received one.

With two wars raging in Iraq and Afghanistan in 2008, the Army was meeting recruitment goals by issuing waivers that allowed people with criminal records, health conditions and other problems to enlist. According to a 2008 Army War College study on the subject, the Army was issuing waivers at a rate of one for every five recruits at the time.

Whatever the exact circumstances of Bergdahl’s enlistment, the Coast Guard discharge came as no surprise to Harrison and other friends who grew up with him in Ketchum, Idaho, and said he was a poor fit for military service.

“He is the perfect example of a person who should not have gone” to war, said Harrison, who spoke on the condition that she be identified by her former married name because she is concerned about threats. “The only person worse would be someone with a low IQ. In my mind, they didn’t care.”

Harrison only recently brought herself to watch the video of Bergdahl’s release, in which he walks stiffly from a battered Taliban truck to a U.S. helicopter.

In earlier Taliban propaganda videos, she said, she always recognized some part of the Bowe she remembered from Ketchum, some aspect of the good posture he kept or a familiar expression. As she studied his tense muscles and movements in the release video, she said, “I didn’t see any of Bowe left.”

‘Light in this darkness’

The writing in Bergdahl’s journal, e-mails and laptop spans the year before he walked off his post in eastern Afghanistan on June 30, 2009. Harrison has had custody of the material since a few days after that, except for a brief period when she provided it to U.S. government investigators. None of the writing in the journal or computer files references the Taliban, or the politics of the war in Afghanistan, although there are references to modern war generally.

“Really, how pathetic i feel as i listen to people talk of the hell I will be heading to . . . ” he wrote in a computer file titled, “my army memories.” “Compared to hell of the real wars of the past, we are nothing but camping boy scots. Hiding from children behind our heavy armored trucks and our c-wire and sand bagged operating post, we tell our selves that we are not cowards . . . ”

Mostly, the writing describes Bergdahl’s internal thoughts and struggles, from his first journal entry, dated June 11, 2008 — the month he headed to Army basic training in Georgia — to the last e-mail, dated June 27, 2009, three days before his disappearance.

“These are just thoughts in the start of this journey,” the first journal entry began in the careful, slanted handwriting that Harrison said Bergdahl practiced as a teenager to help overcome what she thought was dyslexia. “These thoughts insist on trying to overwhelm my mind. . . . I’ve spent a lot of my life thinking blackness was all I had in front of me, that it would be blackness to the very last instent. I know this is not right. I know that there is light in this darkness, and that I can actuly reach it if I keep walking, keep moving to it.”

Although Bergdahl’s friends in Ketchum were worried about his decision to join the Army, they also described it as “typical Bowe.”

After growing up as a home-schooled kid in the rural fringe of Hailey, Idaho, Bergdahl was drawn to an artistic, free-thinking crowd in the nearby ski town of Ketchum, where he met Harrison when he began taking ballet and fencing lessons at an arts center she ran. He started living away from home, bouncing from couch to couch, and became close friends with Harrison’s son, Shane, and daughter, Kayla. He befriended two other young men who spoke to The Post last week on the condition of anonymity because they also are concerned about threats.

They described Bergdahl as an introspective young man who sometimes painted his fingernails black and identified with Japanese samurai warriors and medieval knights. He was often seen writing in a notebook and reading. He liked to portray himself as a dark, adventurous soul with a chivalrous spirit, a dramatic persona his friends often teased him about.

“There were two sides; one was this guy who was super sweet,” one of his friends said. “At the same time, there was this heady introspection.”

When he turned 18, Bergdahl began taking off on short-lived adventures. He told friends he was joining a sailing crew in Florida, going to France to become part of the French Foreign Legion, or setting out to bike around South America, only to reappear in Ketchum after a month or so.

Then one day in 2006, Bergdahl announced that he was joining the Coast Guard, a decision his friends thought was unwise given his personality. Harrison said she tried to talk him out of it, but finally relented and drove him to a military office in Idaho Falls to take the entrance exam.

Soon after he left Ketchum for basic training, Bergdahl sent her a dozen or so notebook pages filled with tiny writing, diatribes against the rigors of military life. She was alarmed, she said. When he returned after a few weeks, he told her he had gotten out on a psychological discharge.

“He told me he faked it,” she recalled. “I said, ‘You don’t fake a psychological discharge, you have to become unfit.’ I told him that. The reality was it wasn’t okay. I saw it in the letters, the way the writing was changing, the anger.”

Another friend remembered having a similar conversation with Bergdahl.

“I said, ‘What happened?’ ” this friend recalled. “He said he started to feign a psychological disorder, saying strange things to get out. I remember flat out calling him out on it — I said, ‘There is something else going on.’ He said, ‘I chose to do it.’

“I know he believed he was in control, but I didn’t,” the friend added. “I sincerely doubted that.”

Two years later, in early 2008, Bergdahl revealed to Harrison that he had enlisted in the Army.

“I was like, ‘Why and how did you even get in?’ ” she said. “ ‘How did they let you?’ I was furious.”

Chronicling his worries

Bergdahl landed in Georgia for basic training in June 2008, and began filling the blue journal.

On the calendar in the back, he scratched out the days with uniform slashes and dots. Inside, he slipped cut-out Sudoku puzzles with the answers taped on the back.

“A wolf, mutt, hound, dog, I’ve been called these from my childhood,” he wrote in the first few pages. “But what good am I, my existence is that of exile. To live on the fringes of this world as a guard . . . ”

He wrote about what he described as “shallow” and crude minds around him, and “this hell that pools so many fools, and they are all part of the illusion.”

“Bullet sponges,” he wrote at one point. “This is what some of the SEALs call regular Army and other mass ground troops. Its right, the job of a soldier is to basically die.”

At another, “Lightning, there is nothing as truly beautiful as lightning . . . ”

And then, “Puddle of mud, skitsafrentic phyco.”

Bergdahl wrote many character sketches and stories about knights who were philosophers and about a girl who “loves the beauty that she sees in this world.”

“I’m worried,” he wrote a few pages later. “ . . . Remember. REMEMBER. Imagination. Realness. To dream. The Universes. REMEMBER. Cold. Swift. Clear. Calm. Logic. Nothingness. Die here. Become empty here.”

As he prepared to deploy to Afghanistan, Bergdahl began making long lists, including one labeled “Movies 4 My Insanity,” which included the Cary Grant film “Houseboat,” “Mary Poppins,” “The English Patient” and “The Silence of the Lambs.” He wrote about his fantasies and goals.

“One day, if I make it out of this, I will go around the world. I will not use airplanes, but only trains, boats, vehicles, and . . . (if I still have them) my feet.”

“I will learn Russian. I will learn Japanese. I will learn French. I will learn Chines.”

On the final journal page he wrote on, he listed story ideas, the last of which was “a story about one going-crazy-to wander the earth alone.”

On a scrap of paper tucked into the journal, he wrote, “Walk us to the end of this. Walk on. And walk us out of here . . . ”

An undated photo from Bowe Bergdahl’s laptop computer. (Courtesy of Kim Harrison)

‘Pulling away’

Bergdahl was sent to Fort Richardson in Alaska to finish out the year, and by March of 2009, he had arrived in Paktika, Afghanistan, where his post was a football-field-size swath of sand partly surrounded by barbed wire.

Into this beige landscape, Bergdahl brought his new laptop, loaded with dozens of photos of clouds — clouds at sunrise and sunset, in oranges and blues and grays.

As fellow soldiers have described him, Bergdahl was either a brooding, aloof figure, or “a good soldier” who did what he was asked. In a file titled, “threw the brain,” Bergdahl wrote of his new experience, “i’m at an odd place here.”

“Like i’m pulling away from the human world, but getting closer to people,” he continued. “Almost as if its not the people I hate, but society’s ideas and reality that hold them. . . . I want to change so much and all the time, but then my mind just locks down, as if there was some one else in my mind shutting the door in my face. . . . I want to pull my mind out and drop kick it into a deep gorge.”

In a file dated a few days later, repetitions of the phrase “velcro or zipper/velcro or zipper/velcro or zipper” cover nearly two pages.

Bergdahl’s platoon mostly avoided firefights. In May 2009, when the fighting season was underway in Afghanistan, there was one serious battle with the Taliban, and a bungled mission that left him and his fellow soldiers stranded in the mountains for four days.

Bergdahl started writing an account of it on his laptop, describing a mission intended to help recover an armored vehicle that went wrong when his convoy was hit by an improvised explosive device.

“The mission was extended, but little detail . . . for command acts like their guarding some kind of secrets when ever oders are passed out. . . . Hitting the mountain road, which is no more then a cart trail winding its way up a redicoulisly steep mountain face, seat belts are strapped, helmets are tightened, and your subconsciously bracing yourself with your hands and feet . . . ”

He didn’t finish.

“So I don’t care weather my body’s whole or ash,” he e-mailed that month to one of his friends in Ketchum, “preferably whole, it would just feel nicer if my body was thrown into the sea whole, instead of just the ashes being thrown overboard. . . . Thanks.”

On June 7, three weeks before he walked off post, Bergdahl e-mailed Harrison’s daughter, Kayla.

“if at any point in time, kim gets a call from red cross, or the mill, no matter when, in a week, month, or years. . . . Keep her from panic and bad ideas. You know what I do, and ash I am still perfecting, actions may become . . . odd. No red flags. Im good. But plans have begun to form, no time line yet. . . . love you! Bowe.”

Alarmed, Kayla wrote back, “Exactly what kind of plans are you thinking of?”

“l1nes n0 t g00 d h3rE tell u when 1 ha ve a si coure 1ine about pl/-\ns,” Bergdahl wrote back the next day. “There is still time yet for thinking.”

“Just don’t do anything stupid or pointless,” Kayla replied.

“you know I plan better then that,” Bergdahl wrote back.

In a file titled, “If i’ve died_READ,” dated June 8, Bergdahl wrote about the reality of his life as a soldier and the idea of a life as a “storyteller.”

“Tomorrow i may be dead. The thoughts that have come to rest in my conscious and subconscious being. . . . These thoughts have placed themselves in my head. In my protection . . . I will try to use what little time this life gives me, to bring their beauty into the world. . . . This is the story teller’s life.”

On June 14, Bergdahl e-mailed Kayla again saying that he was “looking at a map of afghan” and asking if he could wire money to her or kim “to protect my money in the bank just in case things go bad.”

On June 21, he e-mailed her again.

“how far will a human go to find their complete freedom. . . ” he wrote. “For one’s freedom, do they have the right to destroy the world to gain it?”

On June 27, he sent an e-mail to his friends titled, “Who is John Galt?,” a reference to the hero of Ayn Rand’s novel “Atlas Shrugged,” about individualism in a dystopian America.

“I will serve no bandit, nor lair, for i know John Galt, and understand . . . ” Bergdahl wrote. “This life is too short to serve those who compromise value, and its ethics. i am done compromising.”

Three days later, Bergdahl walked off his post.

Several days after that, a box arrived at Harrison’s home. Bergdahl’s handwriting was on the label.

Among the things inside was his computer and a Ziploc bag containing his blue journal.

“I was freaked out,” Harrison recalled. “To me, it meant he did something stupid, or something crazy.”

Julie Tate, Karen DeYoung and Greg Jaffe contributed to this report.