The situation described by the OP is unusual, but if it's for real I'd say you should change to the appropriate cardinal altitude, even if only for 10 miles.
§ 91.159 VFR cruising altitude or flight level.
Except while holding in a holding pattern of 2 minutes or less, or while turning, each person operating an aircraft under VFR in level cruising flight more than 3,000 feet above the surface shall maintain the appropriate altitude or flight level prescribed below, unless otherwise authorized by ATC:....
And you may not be talking to ATC.