I got softlocked after trying to use magic without having any magic spells. ):
Do elaborate. Was it during battle? You should be able to quit the magic menu either way.