The New York Yankees plans to retain Alex Rodriguez as a special assistant and instructor as long as he desires, even if he plays again in 2017 for another club, managing general partner Hal Steinbrenner said Wednesday at the quarterly owners’ meetings.

Rodriguez, who was owed about $27 million when he was released Saturday, announced that he will not resume his baseball career this season, but has not ruled out the possibility of returning in 2017 for another club.

Yet, even if Rodriguez attempts a comeback, Steinbrenner said, the door will remain open for him to work in the front office as a special assistant, in a similar capacity as former Yankee Hall of Famers Reggie Jackson and Goose Gossage, and All-Star Hideki Matsui.

“It’s very flexible,’’ Steinbrenner said, “and it was intended to be a very flexible situation. We talked to him about it as an option. And I just wanted to let him know about his option. When we talked about ’17, it was just that was when the contract was up. It was just logical to get everything done quickly.

“When I talked to him about the kids, with two of our top five prospects sitting right there in Tampa, I told him what a fantastic opportunity. And frankly, as good as he is (as a mentor), I can’t think of anybody better to bring there, even for two weeks or a week, to work with these kids.