by accident
Mistakenly or unintentionally. Uh oh, I must have left those files out by accident. Many great scientific discoveries happened entirely by accident.
by ˈaccident
in a way that is not planned or organized: We met by accident at the airport.Helen got into acting purely by accident.