What should I do if I trap myself in the library puzzle
You can't trap yourself since Ada pushes the boxes away from herself. Well unless you deliberately block the entrance. And why would you do this?
You can always use a recall scroll or fox crystal to teleport away into a safe location. All boxes will be reset once you'll leave the puzzle zone.
Well I accidentally surrounded myself with carts and couldn't get out and thanks for the help
You are welcome. But how did you do this? If I remember the puzzle correctly, it's impossible to surround Ada with boxes/carts. Do I miss something?
The chest on the left has a small entrance and I somehow closed off that entrance