I just encountered this exact problem in my shop using forscan to put a 22 f150 into maintenance mode, it was indeed stuck in maintenance mode no matter what I did with the program or key cycles. After playing around with it for a good little bit I came across this and it worked like a charm...