What function do the -ing verbal forms play in the following sentence?
He sat down calmly, shutting his eyes, thinking.
Are shutting and thinking gerunds? I don't think so, despite the -ing suffix, since they don't seem to work as nouns at all. Any ideas?