He's staying in, probably at the insistence of the Republican Party, hoping that he'll get at least 10% of the vote. If he drops out or, (as appears likely) fails to get at least 10% of the vote, the Republican Party gets relegated to "minority party" status.