IOS testing - app sound is mute

Don’t ask me how but testing my app on an iPhone 5c I have managed to set the sound to soft mute - this means the sound only works with the headphones.

My questions are:

1 - How on earth do I get rid of the soft mute? and
2 - Can I check to see if soft mute is turned on?