Turning it off and then back on or pulling the battery should do the trick. Is the phone near a magnet (such as a magnet-closure case)? That would put it in dock mode.
I have turned it off several times. Pulled the battery etc. It's not near any kind of magnet. I don't want to go back to original factory settings, but I think that's what I'm going to have to do.