More than two dozen people were stranded in the river as residents, forest staff, and volunteers joined the rescue effort