I reccomend That you give a guard or a player your exact coordinates, they may beable to mine the area and have you log on, Goodl
Do you mean that you logged out in a mine and you're suffocating? If so, then try to mine the stone/sand/whatever, if that works. If not, I will tp you out.