Originally posted by Ex Finn. Leave the camera off, your dilemma is strictly mechanical in nature.
.
Read up on the several posts about "removing a lens with Ricoh pin stuck on camera".
The ricoh pin gets stuck in the Af drive. When you switch from manual focus to auto focus, the drive screw pops forward which sometimes can push the pin enough to release. Try putting light but constant pressure on the lens turning in the direction to remove it. With constant light pressure, try flipping the auto focus switch from manual to auto several times.
Alternatively, if you have some automotive feeler gauges, with the camera off and the auto focus switch set to manual, and light pressure turning the lens in to removal direction, try to work one of the thinest feeler gauges under the pin. The pin is stuck about 45 degrees counter clockwise from the bottom center of the camera. The last time it happened to me, I had to mess with it for a while before I got it to pop loose.