It’s fine to store your bike in a vertical position and it’s a great way to save space. If your bike has hydraulic brakes, pump your brakes a little after taking it off the rack to reset the hydraulic fluid system and get your brakes back to normal.