Performance Category 'A' aircraft (nearly all commerical 2-engine a/c) must be able to maintain specific rates of climb with an engine out. They can climb to a safe altitude (in fact probably towards 20,000ft, although it is very unlikely they would!) on the remaining engine. Normal procedures require landing at the nearest suitable airfiled.