Avoid mushy candied carrots in the Instant Pot by making sure not to overcook them and release the pressure fairly soon after cooking.   Remember, you can always cook them a little longer (they will soften more just by replacing the lid and letting them sit warm for a few more minutes), but there is no saving them once they get too soft.