The Dutch, concerned about Amir's nationalistic tendencies, convinced the Sultan to send him back to Langkat, an order which the fledgling poet was unable to refuse.
In 1937, Amir, together with two of the Sultan's vassals tasked with escorting him, boarded the Opten Noort from Tanjung Priok and returned to Sumatra.
Upon arriving in Langkat, he was informed that he was to be married to the Sultan's eldest daughter, Tengku Puteri Kamiliah, a woman he had barely met.
Before the wedding Amir returned to Batavia to face his final exam – and have one last meeting with Sundari.
Several weeks later he returned to Langkat, where he and Kamiliah were married in an extravagant ceremony.
His cousin, Tengku Burhan, later stated that Amir's indifference throughout the seven-day event was due to his thinking of Sundari.

Now a prince (pangeran), Amir was given the title Tengku Pangeran Indra Putera.
He lived with Kamiliah in their own home.
By all accounts, she was a devout and loving wife, and in 1939 the couple had their only child, a daughter named Tengku Tahura.
According to Dini, Amir professed to Kamiliah that he could never love her as he had Sundari and that he felt obligated to marry her, something which Kamiliah reportedly accepted.
The poet retained an album with his Javanese sweetheart's photographs at home and would often isolate himself from his family, lost in thought.
As a prince of Langkat, Amir became a court official, handling administrative and legal matters, and at times judging criminal cases.
He once represented the sultanate at the funeral of Pakubuwono X in Java – Amir's last trip to the island.

Although Amir had little correspondence with his friends in Java, his poems – most of which had been written in Java – continued to be published in Poedjangga Baroe.
His first poetry collection, Nyanyi Sunyi (Songs of Silence), was published in the magazine's November 1937 edition.
Nearly two years later, in June 1939, the magazine published a collection of poems Amir had translated, entitled Setanggi Timur (Incense from the East).
In June 1941 his last collection, Buah Rindu (Fruits of Longing), was published.
All were later republished as stand-alone books.
A last book, Sastera Melayu Lama dan Raja-Rajanya (Old Malay Literature and its Kings), was published in Medan in 1942; this was based on a radio speech Amir had delivered.

After the German invasion of the Netherlands in 1940, the government of the Indies began preparing for a possible Japanese invasion.
In Langkat, a Home Guard, or Stadswacht, division was established to defend Tanjung Pura, in Langkat.
Amir and his cousin Tengku Harun were in charge; the nobility, trusted by the general populace, was selected to ensure easier recruitment of commoners.
When the invasion became a reality in early 1942, Amir was one of the soldiers sent to Medan to defend it.
He and the other Dutch-allied forces were quickly captured by the Japanese.
He was held as a prisoner of war until 1943, when influence from the Sultan allowed him to be released.
Throughout the remainder of the occupation, which lasted until 1945, Amir was employed as a radio commentator and censor in Medan.
In his position as prince, he was tasked with helping to collect rice to feed the Japanese occupation army.
The Dutch, concerned about Amir's nationalistic tendencies, convinced the Sultan to send him back to Langkat, an order which the fledgling poet was unable to refuse. In 1937, Amir, together with two of the Sultan's vassals tasked with escorting him, boarded the Opten Noort from Tanjung Priok and returned to Sumatra. Upon arriving in Langkat, he was informed that he was to be married to the Sultan's eldest daughter, Tengku Puteri Kamiliah, a woman he had barely met. Before the wedding Amir returned to Batavia to face his final exam – and have one last meeting with Sundari. Several weeks later he returned to Langkat, where he and Kamiliah were married in an extravagant ceremony. His cousin, Tengku Burhan, later stated that Amir's indifference throughout the seven-day event was due to his thinking of Sundari.
Now a prince (pangeran), Amir was given the title Tengku Pangeran Indra Putera. He lived with Kamiliah in their own home. By all accounts, she was a devout and loving wife, and in 1939 the couple had their only child, a daughter named Tengku Tahura. According to Dini, Amir professed to Kamiliah that he could never love her as he had Sundari and that he felt obligated to marry her, something which Kamiliah reportedly accepted. The poet retained an album with his Javanese sweetheart's photographs at home and would often isolate himself from his family, lost in thought. As a prince of Langkat, Amir became a court official, handling administrative and legal matters, and at times judging criminal cases. He once represented the sultanate at the funeral of Pakubuwono X in Java – Amir's last trip to the island.
Although Amir had little correspondence with his friends in Java, his poems – most of which had been written in Java – continued to be published in Poedjangga Baroe. His first poetry collection, Nyanyi Sunyi (Songs of Silence), was published in the magazine's November 1937 edition. Nearly two years later, in June 1939, the magazine published a collection of poems Amir had translated, entitled Setanggi Timur (Incense from the East). In June 1941 his last collection, Buah Rindu (Fruits of Longing), was published. All were later republished as stand-alone books. A last book, Sastera Melayu Lama dan Raja-Rajanya (Old Malay Literature and its Kings), was published in Medan in 1942; this was based on a radio speech Amir had delivered.
After the German invasion of the Netherlands in 1940, the government of the Indies began preparing for a possible Japanese invasion. In Langkat, a Home Guard, or Stadswacht, division was established to defend Tanjung Pura, in Langkat. Amir and his cousin Tengku Harun were in charge; the nobility, trusted by the general populace, was selected to ensure easier recruitment of commoners. When the invasion became a reality in early 1942, Amir was one of the soldiers sent to Medan to defend it. He and the other Dutch-allied forces were quickly captured by the Japanese. He was held as a prisoner of war until 1943, when influence from the Sultan allowed him to be released. Throughout the remainder of the occupation, which lasted until 1945, Amir was employed as a radio commentator and censor in Medan. In his position as prince, he was tasked with helping to collect rice to feed the Japanese occupation army.
Amir Hamzah