If you unjailbreak your iPhone, then all of your data and settings will be lost. You will need to factory reset your phone in order to restore your data and settings.