Thanks all for all you input, especially Eric with his detailed analysis.
My take home lesson: If you attempt a pass to windward, make sure you have the room and the speed to finish the maneuver without being impaired by anything the passed boat does. I'll give myself more room next time.