If you give us more detail that would be more helpful as we would probably be able to teach you how to escape.
However, if you ever see me online in /staff you can /helpop for me and I can come tp you out if you are still stuck. Other mods can also help.