Last month I was on the Dubai to Hong Kong flight that stopped in Bangkok en route, we stayed on the plane. I dont recall being offered the option to get off. Tip for you if you do remain on board they will check your baggage and ask for your boarding card so keep it handy.