The reason behind global wind is long term and large scale temperature difference that exists in earth. This happens because sunlight reaches at different angle in different places of earth. Now if suns energy stops reaching earth then slowly temperature of earth will be uniform and global wind will stop slowly.