Did He Go For Protection
It seems that the prophet was looking for a place to migrate. Taif was an option where mighty tribes lived.