So that's strange. Maybe geekmaster will have some solution.
Have you tried to make "normal" restart? Just with hold POWER button on from framework menu and then try it again?
I don't think there is some way to boot into Recovery mode over script.
Also when I have been in Repair mode, I was temporarily renamed framework so Kindle has boot just to half and you don't have any problems with framework.
But do this only if you know what are you doing!
Command for this to write to RUNME:
mv /etc/init.d/framework /etc/init.d/framework.bak
or maybe on touch it's in upstart so:
mv /etc/upstart/framework /etc/upstart/framework.bak