The theme that you can infer when Thorin and the dwarves burst from the barricaded Mountain and come to the aid of the men, elves and other dwarves is Friendship is more important than Thrors hoard
Explanation:
This events are part of the book "The Hobbit" by J.R.R Tolkien, it can be infer that Friendship is more important than Thrors hoard, since this is a constant theme in all the books of J.R.R Tolkien as all the characters in the story of The Lord of the Rings and the other connected to it portray different people becoming more than friends but family, brothers and sisters willing to give their life for the others.