Unfortunately, restarting the level is the only way to get out of the wall. However, we haven't been able to recreate this issue, although it has been posted by a few different members. Do you mind providing your device model and its operating system version as well as exactly where you walked through the wall?