Answer
Abbas II of Persia avoided war with the Ottoman Empire because he was aware of the strength of the Ottoman Empire and did not want to risk a war with them. Abbas II focused on strengthening his own empire and making it more prosperous so that he could be better prepared for a potential future war with the Ottoman Empire.