>>302720843
Ditch the frame, put the mattress on the floor, prop it up against the wall for vr times.

If the closet door is wide enough you could take the doors out of the closet and tuck the head of the bed into the closet.