The best early game wall demolisher is a Homewrecker, which is somewhat easy to craft. ( mostly 2 by 4s and some long strings ) I highly doubt you have the resources to craft it though, seeing as you’re… welll, trapped. It has about 28 Bash if I remember correctly. A Baseball Bat could maybe destroy a wall, if you’re strong enough. ( 20 Bash ) I think a Halligan Bar has less than it, so… I doubt it can break a wall ( unless you’re super strong ). Do you have alcohol with you? It could give you +1 strength.
Or if you don’t mind, you can enter debug mode and teleport yourself outside. In that case you’ll have to keybind the debug menu to a key first, though.