it wouldnt jump out just because it was a 10gal tank, as long as its not full grown (high doubt it is) it shouldve been fine, i have a pair of convicts in a 10gal, yes as adults they need bigger but they can do fine in a 10gal for a while, with 50 1/3 inch fry