You mean your thought it was checkmate but it was a discovered check by opponent?
may be queen h4?
sooner or later white will have to lose a tempo to avoid back rank mate
beshop undetachable after Txf7. white win I suppose