1 verses of the World English Bible have both "leave" and "pray".
Mark 6:46 After he had taken leave of them, he went up the mountain to pray.
In other translations: KJV ASV YLT Darby Webster DRC