You know if your iPhone stuck in recovery mode, you have two ways to kick it out.
1. Hard reset your iPhone.
Press and hold the home button and the power button at the same time. don't release the two button until your iPhone reboot normally. If your iPhone starts normally, you are lucky enough that your iPhone is out of recovery mode. If not, try the second way.
- Restore your iPhone with iTunes
Connect your iPhone to your computer and run itunes, your itunes will tell you that your iPhone is not in normal mode. You need to restore it. click "OK" and restore your iPhone with iTunes. If you have backup file for your iPhone, you can use it to get back data to your iPhone. If not, you will lose all the data in your iPhone.
After restoring iPhone, you will get your iPhone out of recovery mode and use it normally.
If you want to get back data from iPhone, you can try iPhone Data recovery software. It can recover deleted text messages from iPhone and also contacts, notes, photos, call logs and other data from your iPhone, iPad and iPod touch.