It is possible to leg out of a vertical spread. Bare in mind that if you leg out of the long option first, that will leave you naked short an option, which can have considerable risk.