The two officers sprang into action and brought the 38-year-old safely back to shore