(MORE: Prince Harry, Meghan Markle finish 16-day royal tour with a walk through a forest)

The boy also gave Prince Harry a letter, which Harry tucked into his coat pocket.

View this post on Instagram

A post shared by Kensington Palace (@kensingtonroyal) on Oct 29, 2018 at 10:51pm PDT

The emotional moment came just a few months after the 21st anniversary of Princess Diana’s death at age 36 in a Paris car crash. Princes William and Harry were just 15 and 12, respectively, when she died.

(MORE: Meghan Markle's royal tour style)

Harry has spoken publicly about how he \"shut down all [his] emotions” for almost two decades due to the grief over the death of his mother.

\"PHOTO:
Anwar Hussein/Getty Images, FILE
PHOTO: Princess Diana, Princess of Wales with her sons Prince William and Prince Harry attend the Heads of State VE Remembrance Service in Hyde Park in this May 7, 1995 file photo in London.
>

He credits his brother, Prince William, with encouraging him to seek out mental health support to help him deal with his anger and his pain.

William and his wife, Kate, and Harry and Meghan have made mental health a focus of their charitable work through The Royal Foundation.

Harry and Meghan also focused on mental health during their 16-day tour of Australia, New Zealand, Fiji and Tonga.

\"PHOTO:
Kirsty Wigglesworth/Pool via Reuters
PHOTO: Britain's Prince Harry and Meghan Markle, Duchess of Sussex walk through a Redwoods forest in Rotorua, New Zealand, Oct. 31, 2018.
>

While in Australia, the couple visited the iconic Bondi Beach in Sydney, where they joined a sunrise mental health session with the OneWave Organization, a local group that works to raise awareness for mental health.

? Joining the ‘Anti Bad Vibe Circle’ at Bondi Beach, as people of all ages from the OneWave Community share their experiences of mental health issues with The Duke and Duchess of Sussex #RoyalVisitAustralia pic.twitter.com/fgwIR8my3s

— Kensington Palace (@KensingtonRoyal) October 18, 2018
","canonicalUrl":"https://abcnews.com/GMA/Culture/prince-harry-shares-touching-advice-losing-princess-diana/story?id=58872029","legacySlug":"/culture/story/prince-harry-shares-touching-advice-losing-princess-diana-58872029","noIndexNoFollow":false},"publishTime":"15:42","publishDate":"10-31-2018","updatedTime":"15:46","updatedDate":"10-31-2018","socialImage":{"alt":"Prince Harry, Duke of Sussex, greets the crowds during a walkabout at Government Gardens, Oct. 31, 2018, in Rotorua, New Zealand.","credit":"Alan Gibson-Pool/Getty Images","ratio":"16x9","url":"https://s.abcnews.com/images/GMA/prince-harry3-gty-ml-181031_hpMain_2_16x9_1600.jpg","width":992,"height":558},"datePublished":"10/31/2018 15:42:00 GMT","video":{"live":false,"id":58872029,"headline":"Prince Harry gives advice to boy who lost his mom","mediaAssetTitle":"GMA_PRINCE HARRY'S TOUCHING WORDS TO LITTLE BOY_181031","description":"Harry, 34, met the boy while greeting fans in New Zealand.","duration":"2:09","posterImg":{"url":"https://s.abcnews.com/images/GMA/default-img-undefined.png","width":608,"height":342},"video":{"feed":"https://service-pkgabcnews.akamaized.net/opp/hls/abcnews/2018/10/181031_gma_longman_0803_,500,800,1200,1800,2500,3200,4500,.mp4.csmil/playlist.m3u8"},"playlist":["58865293","35431186","58528411"]},"relatedItems":[{"contentType":"story","date":"October 31, 2018","headline":"Prince Harry and Meghan Markle walk hand-in-hand through forest on last day of tour","section":"culture","slug":"/culture/story/prince-harry-meghan-markle-part-traditional-maori-powhiri-58865293","id":58865293,"image":{"alt":"Prince Harry and Meghan Markle walk hand-in-hand through forest on last day of tour","url":"https://s.abcnews.com/images/GMA/harry-markle2-rt-ml-181031_hpMain_4x3t_240.jpg","credit":"Kirsty Wigglesworth/Pool via Reuters","ratio":"1x1"}},{"contentType":"story","date":"November 26, 2015","headline":"Prince Harry Pays Tribute to Princess Diana in LeSotho","section":"news","slug":"/news/story/prince-harry-pays-tribute-princess-diana-childrens-centre-35431186","id":35431186,"image":{"alt":"Prince Harry Pays Tribute to Princess Diana in LeSotho","url":"https://s.abcnews.com/images/International/gty_prince_harry_africa_02_jc_151126_4x3t_240.jpg","credit":"Ian Vogler/Pool/Getty Images","ratio":"1x1"}},{"contentType":"story","date":"October 31, 2018","headline":"Meghan Markle's royal tour style: Duchess wears Stella McCartney, Givenchy ","section":"style","slug":"/style/story/meghan-markles-royal-tour-style-duchess-wears-princess-58528411","id":58528411,"image":{"alt":"Meghan Markle's royal tour style: Duchess wears Stella McCartney, Givenchy ","url":"https://s.abcnews.com/images/GMA/harry-markle1-pol-ml-181031_hpMain_4x3t_240.jpg","credit":"Andrew Parsons /i-Images/Polaris","ratio":"1x1"}}],"relatedContentSection":"news","schemaContent":{"name":"Prince Harry gives advice to boy who lost his mom","description":"Harry, 34, met the boy while greeting fans in New Zealand.","duration":"2:09","uploadDate":"10-31-2018","publication":"10-31-2018","images":"https://s.abcnews.com/images/GMA/default-img-undefined.png","url":"https://service-pkgabcnews.akamaized.net/opp/hls/abcnews/2018/10/181031_gma_longman_0803_,500,800,1200,1800,2500,3200,4500,.mp4.csmil/playlist.m3u8","contentUrl":"https://service-pkgabcnews.akamaized.net/opp/hls/abcnews/2018/10/181031_gma_longman_0803_,500,800,1200,1800,2500,3200,4500,.mp4.csmil/playlist.m3u8","link":"https://www.goodmorningamerica.com/culture/story/prince-harry-shares-touching-advice-losing-princess-diana-58872029"}},"playlist":[{"id":"133810954","contentType":"story","section":"news"},{"id":"133779647","contentType":"story","section":"news"},{"id":"133810835","contentType":"story","section":"news"},{"id":"133749799","contentType":"story","section":"news"},{"id":"133777519","contentType":"story","section":"news"},{"id":"133748258","contentType":"story","section":"news"},{"id":"133730535","contentType":"story","section":"news"},{"id":"133712423","contentType":"story","section":"news"},{"id":"133694181","contentType":"story","section":"news"},{"id":"133688738","contentType":"story","section":"news"},{"id":"133616358","contentType":"story","section":"news"},{"id":"133616342","contentType":"story","section":"news"},{"id":"133522899","contentType":"story","section":"news"},{"id":"133584123","contentType":"story","section":"news"},{"id":"133579397","contentType":"story","section":"news"},{"id":"133482839","contentType":"story","section":"news"},{"id":"133390157","contentType":"story","section":"news"},{"id":"133415361","contentType":"story","section":"news"},{"id":"133414032","contentType":"story","section":"news"},{"id":"133380485","contentType":"story","section":"news"}],"kvps":{"pgtyp":"article","lang":"en","sp":"goodmorningamerica","programmatic":"true","bundleId":"com.abcnews"}},"analytics":{"accountID":"wdgnewwdgnewgmaweb","ns":"gma","pageName":"gma:culture:video","pageType":"video","globalSpecVersion":"v1.08","siteDifferentiator":"gma:site","tagID":"g_page01","userABCookie":"0","section":"culture","title":"Prince Harry gives advice to boy who lost his mom","pubTime":"11:42","pubDate":"10-31-2018","modTime":"11:46","modDate":"10-31-2018","taxonomyTags":"none","id":58872029,"editorialOtherSubjects":"","wordCount":"none","columns":"none","authors":"","authorsUnit":"none","authorsBureau":"none","subBrand":"Good Morning America","provider":"Good Morning America","videoName":"Prince Harry gives advice to boy who lost his mom","mediaAssetTitle":"GMA_PRINCE HARRY'S TOUCHING WORDS TO LITTLE BOY_181031","videoId":58872029,"mediaOnPage":"video","legacySlug":"/culture/story/prince-harry-shares-touching-advice-losing-princess-diana-58872029"},"taboola":{}},"request":{"headers":{},"httpVersion":"1.1","method":"GET","url":"/video/58872029","vary":{"host":"www.goodmorningamerica.com","cached":true,"path":"/video/58872029","forwarded-proto":"https","device":"desktop","userab":"0"}},"viewport":{"width":1260,"height":0},"user":{}};