I've read this is also a problem on some android phones, but after pulling out an audio jack, my aPad got stuck on headphone mode. Solved by inserting another headphone jack and removing after a few seconds.