The man remained partly submerged in the river for 20 hours while authorities attempted to free him.