No they wouldn't abandon cooperation with friendly nations. Security and military affairs will likely remain untouched. In fact, the Turkish Armed Forces will likely be more active, because they would launch operations whenever they need to instead of waiting around for Erdogan's mood to change.